Skip to content

Commit

Permalink
Add Coveralls token and module execution test to GitHub Actions workf…
Browse files Browse the repository at this point in the history
…low.
  • Loading branch information
lapets committed Aug 26, 2023
1 parent 290cb92 commit ba51b2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lint-test-cover-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ jobs:
pip install -U .[lint,test]
python -m pylint fountains # Check against linting rules.
python -m pytest # Run tests.
python src/fountains/fountains.py -v # Run tests via execution.
- name: Publish coverage results.
run: |
pip install -U .[coveralls]
python -m coveralls --service=github # Submit to coveralls.
if: matrix.python-version == '3.8'
if: matrix.python-version == '3.11'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: Test auto-generation of documentation.
run: |
pip install -U .[docs]
Expand Down

0 comments on commit ba51b2e

Please sign in to comment.