Automatically generate properties for packet fields #58
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: Run tests | |
on: | |
workflow_call: | |
pull_request: | |
concurrency: | |
group: pr-tests-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
unit: | |
name: Unit tests (${{ matrix.project }} - ${{ matrix.config }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
project: [RyuSocks.Test, RyuSocks.Generator.Test] | |
config: [Debug, Release] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Overwrite csc problem matcher | |
run: echo "::add-matcher::.github/csc.json" | |
- name: Test | |
uses: TSRBerry/unstable-commands@v1 | |
with: | |
commands: dotnet test -c "${{ matrix.config }}" | |
working-directory: ${{ matrix.project }} | |
timeout-minutes: 10 | |
retry-codes: 139 | |
integration: | |
# NOTE: The integration tests are broken and need to be rewritten. | |
if: false | |
name: Integration tests (${{ matrix.config }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
config: [ Debug, Release ] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Overwrite csc problem matcher | |
run: echo "::add-matcher::.github/csc.json" | |
- name: Test | |
uses: TSRBerry/unstable-commands@v1 | |
with: | |
commands: dotnet test -c "${{ matrix.config }}" | |
working-directory: RyuSocks.Test.Integration | |
timeout-minutes: 10 | |
retry-codes: 139 |