Skip to content

Commit

Permalink
test_coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
markur4 committed Nov 17, 2023
1 parent dad99d3 commit 9a57c15
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test_coverage
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test coverage

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest tests --cov=src/plotastic --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3

0 comments on commit 9a57c15

Please sign in to comment.