Skip to content

Commit a7cc753

Browse files
committed
Create github workflow
1 parent 542dc38 commit a7cc753

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/unittest.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Testing
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
pull-request:
6+
branches: [ "master" ]
7+
permissions:
8+
contents: read
9+
jobs:
10+
Unit tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Python 3.10 setup
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: "3.10"
18+
- name: Install dependencies
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install .
22+
23+
- name: Unit testing
24+
run: |
25+
pytest -v

0 commit comments

Comments
 (0)