Skip to content

Commit b9fb93a

Browse files
Fixed wrong package dir on spec builder (#10)
* [add] Improved package description and badges * [fix] Fixed wrong package dir on spec builder
1 parent 12e3500 commit b9fb93a

File tree

11 files changed

+1110
-399
lines changed

11 files changed

+1110
-399
lines changed

.github/workflows/poetry-ci-test-lint.yml

-57
This file was deleted.

.github/workflows/tox.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Run Tests using tox
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
pytest:
10+
strategy:
11+
matrix:
12+
python-version: [ 3.6, 3.7, 3.8, 3.9 ]
13+
os: [ ubuntu-latest ]
14+
env:
15+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
16+
USING_COVERAGE: "3.9"
17+
18+
runs-on: ${{ matrix.os }}
19+
name: os ${{ matrix.os }} python ${{ matrix.python-version }} Linting, testing, and compliance
20+
steps:
21+
- uses: actions/checkout@master
22+
23+
- name: Set up Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v1
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
28+
- uses: docker-practice/actions-setup-docker@master
29+
30+
- name: Install Poetry
31+
uses: dschep/install-poetry-action@v1.3
32+
33+
- name: Install Tox
34+
run: |
35+
pip3 install black coverage flake8 tox tox-docker tox-poetry
36+
37+
- name: Run tox
38+
run: |
39+
tox
40+
41+
- name: Upload coverage to Codecov
42+
uses: codecov/codecov-action@v1
43+
if: contains(env.USING_COVERAGE, matrix.python-version)
44+
with:
45+
fail_ci_if_error: true

0 commit comments

Comments
 (0)