-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace travis-ci with github actions
- By adding .github/workflows/automated-tests.yml - triggered when pushed to branches devel, main, or master - triggered for any pull request - removed installing pyelftools since it is no longer a dependency - removed top-level make build, since it does nothing now - other than that, it's identical to the travis-ci setup
- Loading branch information
1 parent
73020e8
commit edd6e1b
Showing
3 changed files
with
51 additions
and
148 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,33 @@ | ||
name: Automated Tests | ||
|
||
on: | ||
push: | ||
branches: [ devel, master, main ] | ||
pull_request: | ||
|
||
jobs: | ||
automated-tests: | ||
runs-on: ubuntu-latest | ||
|
||
# matrix docs: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix | ||
strategy: | ||
matrix: | ||
include: | ||
- name: openmpi | ||
packages: libopenmpi-dev openmpi-bin | ||
- name: mpich | ||
packages: libmpich-dev mpich | ||
- name: none | ||
packages: | ||
|
||
steps: | ||
- name: install dependencies | ||
run: > | ||
sudo apt-get update && | ||
sudo apt-get install python3 python3-pip ${{ matrix.packages }} && | ||
pip3 install --user setuptools toml | ||
- uses: actions/checkout@v2 | ||
- name: build tests | ||
run: make -C tests -j ${{ steps.cpu-cores.outputs.count }} | ||
- name: run tests | ||
run: make check |
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