-
Notifications
You must be signed in to change notification settings - Fork 47
47 lines (37 loc) · 1.07 KB
/
mod_install_tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Mod Install Tests
on:
schedule:
- cron: '0 6 * * *'
workflow_dispatch:
push:
branches: [ main ]
paths:
- ".github/workflows/mod_install_tests.yaml"
- "./src/**"
- "./tests/**"
- "**.props"
- "**.targets"
jobs:
build:
name: Test ${{matrix.game}} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
environment: test
env:
NEXUS_API_KEY: ${{ secrets.NEXUS_API_KEY }}
strategy:
matrix:
#os: [ubuntu-latest, windows-latest, macos-latest]
os: [windows-latest]
game: [cyberpunk2077, darkestdungeon, sifu, stardewvalley]
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Stress Test
run: dotnet run --project ./src/NexusMods.App/NexusMods.App.csproj -- stress-test -g ${{matrix.game}} -o ${{ github.step_summary }}
- uses: codecov/codecov-action@v3
with:
flags: networking_tests, ${{runner.os}}
verbose: true