Skip to content

Merge pull request #343 from PRUNERS/issue342-flitcli-show-help-when-… #11

Merge pull request #343 from PRUNERS/issue342-flitcli-show-help-when-…

Merge pull request #343 from PRUNERS/issue342-flitcli-show-help-when-… #11

name: Automated Tests
on:
push: # all pushes, but only to the specified branches
branches: [ devel, master, main ]
pull_request: # all pull requests
workflow_dispatch: # allows manual triggering on web interface
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