This repository has been archived by the owner on May 2, 2024. It is now read-only.
[pre-commit.ci] auto fixes from pre-commit.com hooks #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: ["push"] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python | |
uses: actions/setup-python@master | |
with: | |
python-version: 3.8 | |
- name: Setup Poetry Environment | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install | |
- name: Test LibPacstall | |
run: | | |
poetry run coverage run -m pytest . | |
- name: Generate Coverage Report | |
run: | | |
poetry run coverage report -m | |
poetry run coverage xml | |
- name: Upload Coverage Report to CodeCov | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true | |
verbose: true |