Skip to content

Commit 31d56b7

Browse files
authored
Update pipeline.yml
1 parent 5fbef80 commit 31d56b7

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

.github/workflows/pipeline.yml

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
- name: Test
102102
run: mypy --ignore-missing-imports ${{ github.event.repository.name }}
103103

104-
pyiron_atomistics_tests:
104+
pyiron_atomistics_tests_py312:
105105
needs: [black]
106106
runs-on: ubuntu-latest
107107
strategy:
@@ -135,6 +135,33 @@ jobs:
135135
- environment-file: .ci_support/environment-pyiron-atomistics-0-7-19.yml
136136
- environment-file: .ci_support/environment-pyiron-atomistics-0-7-20.yml
137137
- environment-file: .ci_support/environment-pyiron-atomistics-0-8-0.yml
138+
steps:
139+
- uses: actions/checkout@v4
140+
- name: Conda config
141+
shell: bash -l {0}
142+
run: echo -e "channels:\n - conda-forge\n" > .condarc
143+
- name: Setup Mambaforge
144+
uses: conda-incubator/setup-miniconda@v3
145+
with:
146+
python-version: "3.12"
147+
miniforge-version: latest
148+
condarc-file: .condarc
149+
environment-file: ${{ matrix.environment-file }}
150+
- name: Test
151+
shell: bash -l {0}
152+
timeout-minutes: 5
153+
run: |
154+
pip install . --no-deps --no-build-isolation
155+
coverage run
156+
coverage report
157+
coverage xml
158+
159+
pyiron_atomistics_tests_py313:
160+
needs: [black]
161+
runs-on: ubuntu-latest
162+
strategy:
163+
matrix:
164+
include:
138165
- environment-file: .ci_support/environment-pyiron-atomistics-0-8-1.yml
139166
- environment-file: .ci_support/environment-pyiron-atomistics-0-8-2.yml
140167
- environment-file: .ci_support/environment-pyiron-atomistics-0-8-3.yml
@@ -159,7 +186,7 @@ jobs:
159186
coverage report
160187
coverage xml
161188
- name: Upload coverage reports to Codecov
162-
if: matrix.environment-file == '.ci_support/environment-pyiron-atomistics-0-7-18.yml'
189+
if: matrix.environment-file == '.ci_support/environment-pyiron-atomistics-0-8-3.yml'
163190
uses: codecov/codecov-action@v5
164191
with:
165192
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)