Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Rivixer committed Jun 16, 2023
2 parents 4a21d94 + 0c1b90f commit b0def26
Show file tree
Hide file tree
Showing 624 changed files with 29,182 additions and 28 deletions.
59 changes: 59 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Bug Report
description: Znalazłeś buga - stwórz issue
body:
- type: textarea
id: what-happened
attributes:
label: Co sie stało?
description: Co powinno się wydarzyć, a co stało się innego?
placeholder: "Rzucenie kostką crashuje grę."
validations:
required: true
- type: textarea
id: repro
attributes:
label: Jak do tego doszło?
description: |
Opisz, jak deweloperzy mogą spowodować wystąpienie błędu - gdzie kliknąć, jaką opcję itd. Jest to zdecydowanie najważniejsza część raportu - często jest bardzo trudne lub nawet niemożliwe zdiagnozowanie problemu, jeśli nie znamy warunków, w których się pojawia. Można dorzucić screenshota.
placeholder: |
1. Uruchom singleplayer na opcjach default.
2. Rzuć kostką.
3. Gra się crashuje.
validations:
required: true
- type: dropdown
id: prevalence
attributes:
label: Częstotliwość
description: "Jak często pojawia się problem?"
options:
- Raz
- Czasami
- Zawsze
validations:
required: true
- type: dropdown
id: version
attributes:
label: Wersja
description: Jaka to wersja gry - testujesz wersję alpha czy po najnowszym commitcie.
options:
- 0.1.0-alpha
- Inna
validations:
required: true
- type: input
id: otherversion
attributes:
label: "Link"
description: Jeśli wybrałeś "Inna" - podaj link do ostatniego commita z tej wersji.
- type: dropdown
id: operating-systems
attributes:
label: System operacyjny
options:
- Windows
- MacOS
- Linux
validations:
required: true
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/tests_failure_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Tests Failure Report
description: Funkcja nie przeszła testów
body:
- type: textarea
id: what-happened
attributes:
label: Co poszło nie tak?
description: Jaka funkcjonalność nie przeszła jakiego testu?
placeholder: "Podczas wywołania funkcji Mnożenie z argumentami 2,3 funkcja zwraca 5."
validations:
required: true
- type: input
id: branch
attributes:
label: Branch
description: Podaj nazwę brancha, na którym zostały zrobione testy jednostkowe do testowanej funkcji.
28 changes: 0 additions & 28 deletions .github/workflows/build-debug.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net

name: .NET

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore WindowsWZIMopoly.sln
- name: Build debug
run: dotnet build --configuration Debug --no-restore WindowsWZIMopoly.csproj
working-directory: WZIMopoly
- name: Unit tests
run: dotnet test --no-restore --verbosity normal TestWZIMopoly.csproj
working-directory: TestWZIMopoly

linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore LinuxWZIMopoly.sln
- name: Build debug
run: dotnet build --configuration Debug --no-restore LinuxWZIMopoly.csproj
working-directory: WZIMopoly
- name: Unit tests
run: dotnet test --no-restore --verbosity normal TestWZIMopoly.csproj
working-directory: TestWZIMopoly
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,9 @@ MigrationBackup/

# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# Documentation generated by Doxygen
[Dd]oxygen/

# Config files
WZIMopoly/Properties/Config.xml
Loading

0 comments on commit b0def26

Please sign in to comment.