Test #48
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: Test | |
on: | |
schedule: | |
- cron: '0 3 * * *' | |
repository_dispatch: | |
types: [test] | |
workflow_dispatch: | |
jobs: | |
integrationTest: | |
strategy: | |
matrix: | |
os: [ windows-latest, ubuntu-latest, macos-latest ] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
env: | |
SOLUTION_PATH: 'src/Blockcore.sln' | |
BUILD_CONFIGURATION: 'Release' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Restore | |
run: dotnet restore ${{env.SOLUTION_PATH}} | |
- name: Build | |
run: dotnet build --configuration ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_PATH}} | |
- name: Integration Test | |
run: dotnet test -v=normal --no-build --filter 'FullyQualifiedName~IntegrationTests&Unstable!=True' --configuration ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_PATH}} |