-
-
Notifications
You must be signed in to change notification settings - Fork 684
31 lines (29 loc) · 861 Bytes
/
tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: test all
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install requirements
run: |
pip install -r requirements.txt
# pip install pytest-cover
- name: Run tests
run: |
python setup.py install
python examples/example_bit.py
python examples/example_img.py
python examples/example_no_writing.py
python examples/example_str.py
python examples/example_str_multi.py
# pytest --cov .
# - name: Upload coverage reports to Codecov with GitHub Action
# uses: codecov/codecov-action@v3