Skip to content

Commit b04c63d

Browse files
committed
Added integration.
Signed-off-by: Pavel Kirilin <win10@list.ru>
1 parent 4b23be6 commit b04c63d

5 files changed

Lines changed: 713 additions & 67 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Testing package
1+
name: Test package
22

33
on: push
44

@@ -26,35 +26,3 @@ jobs:
2626
run: poetry install
2727
- name: Run lint check
2828
run: poetry run pre-commit run -a ${{ matrix.cmd }}
29-
pytest:
30-
permissions:
31-
checks: write
32-
pull-requests: write
33-
contents: write
34-
strategy:
35-
matrix:
36-
py_version: ["3.7", "3.8", "3.9", "3.10"]
37-
os: [ubuntu-latest, windows-latest]
38-
runs-on: "${{ matrix.os }}"
39-
steps:
40-
- uses: actions/checkout@v2
41-
- name: Install poetry
42-
run: pipx install poetry
43-
- name: Set up Python
44-
uses: actions/setup-python@v4
45-
with:
46-
python-version: "${{ matrix.py_version }}"
47-
cache: "poetry"
48-
- name: Install deps
49-
run: poetry install
50-
- name: Run pytest check
51-
run: poetry run pytest -vv -n auto --cov="taskiq_aiohttp" .
52-
- name: Generate report
53-
run: poetry run coverage xml
54-
- name: Upload coverage reports to Codecov with GitHub Action
55-
uses: codecov/codecov-action@v3
56-
if: matrix.os == 'ubuntu-latest' && matrix.py_version == '3.9'
57-
with:
58-
token: ${{ secrets.CODECOV_TOKEN }}
59-
fail_ci_if_error: false
60-
verbose: true

0 commit comments

Comments
 (0)