Skip to content

Commit

Permalink
Fix 'Github Actions' configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
lycantropos committed Jul 9, 2023
1 parent 7212836 commit fb65b38
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
dotnet_version: [ '6.x', '7.x' ]
dotnet_version: [ '5.x', '6.x', '7.x' ]
python_version: [ '3.8', '3.9', '3.10', '3.11' ]
platform: [
{
Expand Down Expand Up @@ -57,7 +57,14 @@ jobs:
architecture: ${{ matrix.platform.python_architecture }}
- name: 'Install tests dependencies'
run: python -m pip install -r requirements-tests.txt
- name: 'Build project'
run: dotnet publish --property:PublishDir=$PWD/tests/ .
- name: 'Publish project'
run: >
dotnet publish --property:PublishDir=$PWD/tests/
--framework ${{
startsWith(matrix.dotnet_version, '5.') && 'net5.0'
|| startsWith(matrix.dotnet_version, '6.') && 'net6.0'
|| startsWith(matrix.dotnet_version, '7.') && 'net7.0'
|| 'net8.0'
}} .
- name: 'Run tests'
run: pytest

0 comments on commit fb65b38

Please sign in to comment.