Skip to content

Commit

Permalink
Merge 89b61b8 into 9e4689b
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmidt87 committed Mar 25, 2021
2 parents 9e4689b + 89b61b8 commit 46b6ffb
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: run tests
on:
push:
branches:
- master
pull_request:
jobs:
hal-cgp-testsuite:
name: hal-cgp testsuite
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
dep: [all, dev]
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip install -e .{{ matrix.dep }}
pip install pytest-cov coveralls
- name: Code checks
run: |
black --check .
flake8 --config=.flake8 .
mypy cgp
isort --check-only cgp examples test
- name: run tests
run: |
pytest --cov=cgp
- name: coveralls
run: |
coveralls

0 comments on commit 46b6ffb

Please sign in to comment.