Skip to content

Commit ade1e87

Browse files
committed
workflow fixes
1 parent 214125b commit ade1e87

File tree

4 files changed

+40
-4
lines changed

4 files changed

+40
-4
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
channels: conda-forge
2323
channel-priority: strict
2424
use-mamba: true
25-
environment-file: .ci_support/environment.yml
25+
environment-file: .ci_support/environment-openmpi.yml
2626
- name: Setup
2727
shell: bash -l {0}
2828
run: |

.github/workflows/pypicheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
channels: conda-forge
1919
channel-priority: strict
2020
use-mamba: true
21-
environment-file: .ci_support/environment.yml
21+
environment-file: .ci_support/environment-openmpi.yml
2222
- name: Setup
2323
shell: bash -l {0}
2424
run: |

.github/workflows/unittests.yml renamed to .github/workflows/unittests-mpich.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33

4-
name: Python package
4+
name: mpich
55

66
on:
77
push:
@@ -26,7 +26,7 @@ jobs:
2626
channels: conda-forge
2727
channel-priority: strict
2828
use-mamba: true
29-
environment-file: .ci_support/environment.yml
29+
environment-file: .ci_support/environment-mpich.yml
3030
- name: Setup
3131
shell: bash -l {0}
3232
run: |
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: OpenMPI
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
pull_request:
10+
branches: [ main ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
python-version: ['3.8', '3.9', '3.10', '3.11']
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: conda-incubator/setup-miniconda@v2
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
miniforge-variant: Mambaforge
26+
channels: conda-forge
27+
channel-priority: strict
28+
use-mamba: true
29+
environment-file: .ci_support/environment-openmpi.yml
30+
- name: Setup
31+
shell: bash -l {0}
32+
run: |
33+
pip install --no-deps .
34+
- name: Test
35+
shell: bash -l {0}
36+
run: coverage run --omit pylammpsmpi/_version.py -m unittest discover tests

0 commit comments

Comments
 (0)