Skip to content

Commit

Permalink
ci: test on Windows and MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed May 4, 2024
1 parent 72a8846 commit d4f5113
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Main

on:
push:
branches: [ main ]
Expand All @@ -7,14 +8,19 @@ jobs:
poetry-with-codecov:
strategy:
matrix:
platform:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
python-version:
- '3.11'
- '3.12'
- "3.11"
- "3.12"
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
with:
working-directory: .
platform: ${{ matrix.platform }}
python-version: ${{ matrix.python-version }}
module-name: safeds_runner
coverage: ${{ matrix.python-version == '3.11' }}
coverage: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
13 changes: 9 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull Request

on:
pull_request:
branches: [main]
branches: [ main ]

concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }}
Expand All @@ -12,14 +12,19 @@ jobs:
poetry-with-codecov:
strategy:
matrix:
platform:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
python-version:
- '3.11'
- '3.12'
- "3.11"
- "3.12"
uses: lars-reimann/.github/.github/workflows/poetry-codecov-reusable.yml@main
with:
working-directory: .
platform: ${{ matrix.platform }}
python-version: ${{ matrix.python-version }}
module-name: safeds_runner
coverage: ${{ matrix.python-version == '3.11' }}
coverage: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d4f5113

Please sign in to comment.