Suspend and Resume handler #787
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: | |
- ubuntu | |
- windows | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build | |
- name: Test with the dotnet CLI | |
run: dotnet test -v n | |
- name: Archive JobTests artifacts | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: Test_logs_${{ matrix.os }} | |
path: | | |
Golem.Tests/tests/*.log | |
Golem.Tests/tests/*/modules/golem-data/yagna/*.log | |
Golem.Tests/tests/*/modules/golem-data/provider/*.log | |
Golem.Tests/tests/*/modules/golem-data/provider/*.json | |
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/logs/*.log | |
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/agreement.json | |
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/*/*.log | |
Golem.Tests/tests/*/modules/golem-data/provider/exe-unit/work/*/*/logs/*.log | |
Golem.Tests/tests/*/*.log |