Skip to content

Commit 648e7b6

Browse files
author
Rory Barnes
committed
Updated tests.yml to only publish unit tests for Ubuntu 22 and Python 3.9.
1 parent 8388801 commit 648e7b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222

2323
steps:
2424
- name: Clone vplot repo
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828

2929

3030

3131
- name: Set up Python
32-
uses: conda-incubator/setup-miniconda@v2
32+
uses: conda-incubator/setup-miniconda@v3
3333
with:
3434
activate-environment: vplot
3535
environment-file: environment.yml
@@ -63,8 +63,8 @@ jobs:
6363
run: python -m pytest -v tests --junitxml=junit/test-results.xml
6464

6565
- name: Publish unit test results
66-
uses: EnricoMi/publish-unit-test-result-action@v1
67-
if: always()
66+
uses: EnricoMi/publish-unit-test-result-action@v2
67+
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.python-version == '3.9' }}
6868
with:
6969
files: junit/test-*.xml
7070
comment_mode: update last

0 commit comments

Comments
 (0)