Skip to content

Commit

Permalink
Attempt to add coverage action (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar authored Feb 14, 2024
2 parents b2d62b9 + 26f60eb commit be2b130
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: black-action

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
linter_name:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Generate Pages

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
docs:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Python mypy

on: [push, pull_request]
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
static-analysis:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ jobs:
pip install -r requirements-dev.txt
- name: Test
run: pytest tests -s -v --color=yes
run: pytest --color=yes --cov --cov-report=xml --cov-report=term-missing

- name: Coverage
uses: codecov/codecov-action@v3

0 comments on commit be2b130

Please sign in to comment.