Skip to content

Commit d7c3e6d

Browse files
committed
Replace CircleCI with GH Actions
1 parent 40f1a67 commit d7c3e6d

File tree

2 files changed

+23
-94
lines changed

2 files changed

+23
-94
lines changed

.circleci/config.yml

Lines changed: 0 additions & 94 deletions
This file was deleted.

.github/workflows/tests.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Run Tests
2+
on: push
3+
4+
jobs:
5+
pytest:
6+
name: pytest
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Install
11+
uses: abatilo/[email protected]
12+
with:
13+
python_version: 3.8.0
14+
poetry_version: 1.0
15+
working_directory: ./working_dir # Optional, defaults to '.'
16+
args: install
17+
- name: Run pytest
18+
uses: abatilo/[email protected]
19+
with:
20+
python_version: 3.8.0
21+
poetry_version: 1.0
22+
working_directory: ./working_dir
23+
args: run python -m pytest --cov=src --cov-branch --cov-fail-under=75 tests/

0 commit comments

Comments
 (0)