Skip to content

Commit

Permalink
Merge 9f1a61d into 4c3433a
Browse files Browse the repository at this point in the history
  • Loading branch information
scasagrande committed Jan 19, 2022
2 parents 4c3433a + 9f1a61d commit a7642bf
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ exclude_lines =
if not self._testing:
raise NotImplementedError
raise AssertionError

[run]
relative_files = True
42 changes: 42 additions & 0 deletions .github/workflows/ik-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: InstrumentKit CI

on:
push:
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tox tox-gh-actions coverage coveralls
- name: Test with tox
run: tox
- name: Submit to coveralls
uses: AndreMiras/coveralls-python-action@develop
with:
parallel: true
flag-name: Unit Test

finish:
needs: test
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
File renamed without changes.
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ deps =
-rdev-requirements.txt
commands =
pylint -j 0 --disable=I,R {toxinidir}/instruments

[gh-actions]
python =
3.6: py36, pylint
3.7: py37
3.8: py38
3.9: py39

0 comments on commit a7642bf

Please sign in to comment.