Skip to content

Commit

Permalink
Merge 844f4ce into c000b47
Browse files Browse the repository at this point in the history
  • Loading branch information
Thetwam committed Mar 25, 2021
2 parents c000b47 + 844f4ce commit 5291fe6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Run tests

on: [push, pull_request]
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]

jobs:
build:
Expand All @@ -23,7 +27,7 @@ jobs:
run: flake8
- name: Check formatting
run: black --check canvasapi tests
- name: Sort imports
- name: Check import sorting
run: isort --check canvasapi tests
- name: Run tests
run: coverage run -m unittest discover
Expand All @@ -33,3 +37,7 @@ jobs:
run: python scripts/alphabetic.py
- name: Check for missing kwargs
run: python scripts/find_missing_kwargs.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
fail_ci_if_error: true

0 comments on commit 5291fe6

Please sign in to comment.