-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update continous integration environment
- Loading branch information
1 parent
9377818
commit ed541e0
Showing
5 changed files
with
91 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Unittests-flux-mpich | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extend environment | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: | | ||
echo -e '- coverage\n- flux-core =0.59.0\n- versioneer =0.28'>> .ci_support/environment-mpich.yml | ||
cat .ci_support/environment-mpich.yml | ||
- uses: conda-incubator/setup-miniconda@v2.2.0 | ||
with: | ||
python-version: '3.12' | ||
mamba-version: "*" | ||
channels: conda-forge | ||
miniforge-variant: Mambaforge | ||
channel-priority: strict | ||
auto-update-conda: true | ||
environment-file: .ci_support/environment-mpich.yml | ||
- name: Test | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: | | ||
pip install . --no-deps --no-build-isolation | ||
python -m unittest discover tests | ||
- name: Test Flux | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: > | ||
flux start | ||
python -m unittest tests/test_flux_executor.py tests/test_executor_backend_flux.py; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Unittests-flux-openmpi | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Extend environment | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: | | ||
echo -e '- coverage\n- flux-core =0.59.0\n- flux-pmix=0.5.0\n- versioneer =0.28' >> .ci_support/environment-openmpi.yml | ||
cat .ci_support/environment-openmpi.yml | ||
- uses: conda-incubator/setup-miniconda@v2.2.0 | ||
with: | ||
python-version: '3.12' | ||
mamba-version: "*" | ||
channels: conda-forge | ||
miniforge-variant: Mambaforge | ||
channel-priority: strict | ||
auto-update-conda: true | ||
environment-file: .ci_support/environment-openmpi.yml | ||
- name: Test | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: | | ||
pip install . --no-deps --no-build-isolation | ||
coverage run -a --omit="pympipool/_version.py,tests/*" -m unittest discover tests | ||
- name: Test Flux with OpenMPI | ||
shell: bash -l {0} | ||
timeout-minutes: 5 | ||
run: > | ||
flux start | ||
coverage run -a --omit="pympipool/_version.py,tests/*" -m unittest tests/test_flux_executor.py tests/test_executor_backend_flux.py; | ||
coverage xml | ||
env: | ||
PYMPIPOOL_PMIX: "pmix" | ||
- name: Coveralls | ||
uses: coverallsapp/github-action@v2 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters