-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (32 loc) · 935 Bytes
/
pr.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Pull Request
on:
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.head_ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
poetry-with-codecov:
strategy:
matrix:
platform:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
python-version:
- "3.11"
- "3.12"
exclude:
- platform: "macos-latest"
python-version: "3.11"
- platform: "windows-latest"
python-version: "3.11"
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
coverage: ${{ matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11' }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}