Skip to content

FIx mana circles not respecting the grow material period #781

FIx mana circles not respecting the grow material period

FIx mana circles not respecting the grow material period #781

Workflow file for this run

name: test
on:
pull_request:
push:
branches:
- master
- develop
env:
HUSKY: 0
POSTGRES_USER: testing
POSTGRES_PASSWORD: verystrongpassword
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
project:
[
"DragaliaAPI.Test",
"DragaliaAPI.Integration.Test",
"DragaliaAPI.Database.Test",
"DragaliaAPI.Shared.Test",
"DragaliaAPI.Photon.StateManager.Test",
]
services:
postgres:
image: postgres
ports:
- "5432:5432"
env:
POSTGRES_USER: ${{ env.POSTGRES_USER }}
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis/redis-stack
ports:
- "6379:6379"
options: >-
--health-cmd "redis-cli PING"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
- name: Install dependencies
run: dotnet restore ${{ matrix.project }}
- name: Test
run: >
dotnet test ${{ matrix.project }}
--no-restore
--logger "console;verbosity=detailed"
-p:CollectCoverage=true
-p:CoverletOutputFormat="cobertura"
-p:CoverletOutput="coverage_report.xml"
-p:Exclude=\"[*.Test]*,[DragaliaAPI.Test.Utils]*,[DragaliaAPI.Photon.Plugin]*,[DragaliaAPI.Database]DragaliaAPI.Database.Migrations.*,[DragaliaAPI]DragaliaAPI.Models.Generated.*\"
- name: Upload coverage reports
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.project }} coverage report
path: ${{ matrix.project }}/coverage_report.xml
retention-days: 2