moved pytest to workflow #8
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: cov | |
on: | |
push | |
jobs: | |
cov_job: | |
runs-on: ubuntu-latest | |
name: checking coverage | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up python | |
id: setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3 | |
- name: install whatever | |
run: pip install . | |
- name: install pytest | |
run: pip install pytest | |
- name: launch test | |
run: python3 -m pytest | |
- name: cov comment | |
id: coverage-comment | |
uses: py-cov-action/python-coverage-comment-action@v3 | |
with: | |
GITHUB_TOKEN: ${{ github.token }} |