Skip to content

Commit

Permalink
limit instance tests to python 3.8 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eskerda committed Sep 26, 2024
1 parent 5636edd commit 43c23ef
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,21 @@ jobs:
needs: [unit]
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: '3.8'
- name: Install dependencies
run: make install
- name: Test instance changes on this branch
run: make test-changes T_FLAGS+='-n 10 --json-report --json-report-file=report/report.json'
# Only run summary once
- name: all summary
if: (success() || failure()) && matrix.python-version == '3.8'
if: (success() || failure())
run: |
make github-summary >> $GITHUB_STEP_SUMMARY
instance-tests:
Expand All @@ -65,22 +63,20 @@ jobs:
needs: [unit]
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: '3.8'
- name: Install dependencies
run: make install
- name: Test all instances
run: |
make report! T_FLAGS+='-n 10' || true
# Only run summary once
- name: summary
if: (success() || failure()) && matrix.python-version == '3.8'
if: (success() || failure())
run: |
make github-summary >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 43c23ef

Please sign in to comment.