This commit is contained in:
Yax 2021-08-15 15:26:21 +02:00
parent 7420528992
commit af23c4697d
3 changed files with 44 additions and 10 deletions

View file

@ -19,12 +19,13 @@ jobs:
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: ${{ matrix.poetry-version }}
- name: poetry install
- name: Install dependencies
run: poetry install
- name: poetry run pytest and coverage
run: poetry run pytest --cov .
- name: Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: .coverage
- name: Pytest and Coverage
run: |
poetry run coverage run -m --source=stacosys pytest tests
poetry run coverage report
- name: Send report to Coveralls
run: poetry run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}