|
|
@ -25,12 +25,13 @@ jobs: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
os: ["ubuntu-latest", "windows-2022"] |
|
|
|
os: ["ubuntu-latest", "windows-2022"] |
|
|
|
type: ["unit", "integration", "tool"] |
|
|
|
type: ["unit", "integration", "tool"] |
|
|
|
|
|
|
|
python: ${{ (github.event_name == 'pull_request' && fromJSON('["3.8", "3.11"]')) || fromJSON('["3.8", "3.9", "3.10", "3.11"]') }} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- name: Set up Python 3.8 |
|
|
|
- name: Set up Python ${{ matrix.python }} |
|
|
|
uses: actions/setup-python@v4 |
|
|
|
uses: actions/setup-python@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.8 |
|
|
|
python-version: ${{ matrix.python }} |
|
|
|
cache: "pip" |
|
|
|
cache: "pip" |
|
|
|
cache-dependency-path: setup.py |
|
|
|
cache-dependency-path: setup.py |
|
|
|
|
|
|
|
|
|
|
@ -74,7 +75,7 @@ jobs: |
|
|
|
uses: ./.github/actions/upload-coverage |
|
|
|
uses: ./.github/actions/upload-coverage |
|
|
|
# only aggregate test coverage over linux-based tests to avoid any OS-specific filesystem information stored in |
|
|
|
# only aggregate test coverage over linux-based tests to avoid any OS-specific filesystem information stored in |
|
|
|
# coverage metadata. |
|
|
|
# coverage metadata. |
|
|
|
if: ${{ matrix.os == 'ubuntu-latest' }} |
|
|
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.8' }} |
|
|
|
|
|
|
|
|
|
|
|
coverage: |
|
|
|
coverage: |
|
|
|
needs: |
|
|
|
needs: |
|
|
|