Skip to content

Commit cdb2541

Browse files
committed
Update github action for 2 threads and new action versions
1 parent e568cc5 commit cdb2541

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/run-tests-action.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
os: ["ubuntu-latest"]
1515
steps:
1616
- name: Check out repository code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Install Conda environment with Micromamba
1919
uses: conda-incubator/setup-miniconda@v3
2020
with:
@@ -37,7 +37,7 @@ jobs:
3737
sudo apt-get install xvfb
3838
sudo apt-get install qtbase5-dev
3939
- name: Test with xvfb
40-
run: xvfb-run --auto-servernum /usr/share/miniconda/envs/test-environment/bin/pytest --cov-report=xml:cov.xml --cov=Stoner --junitxml pytest.xml
40+
run: xvfb-run --auto-servernum /usr/share/miniconda/envs/test-environment/bin/pytest -n 2 --cov-report=xml:cov.xml --cov=Stoner --junitxml pytest.xml
4141
env:
4242
TZ: Europe/London
4343
LC_CTYPE: en_GB.UTF-8
@@ -69,12 +69,12 @@ jobs:
6969

7070
steps:
7171
- name: Download Artifacts
72-
uses: actions/download-artifact@v2
72+
uses: actions/download-artifact@v4
7373
with:
7474
path: artifacts
7575

7676
- name: Publish Unit Test Results
77-
uses: EnricoMi/publish-unit-test-result-action@v1
77+
uses: EnricoMi/publish-unit-test-result-action@v2
7878
with:
7979
files: artifacts/**/*.xml
8080

@@ -83,6 +83,6 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
- name: Finish colveralls
86-
uses: AndreMiras/coveralls-python-action@v20201129
86+
uses: AndreMiras/coveralls-python-action@develop
8787
with:
8888
parallel-finished: true

0 commit comments

Comments
 (0)