Skip to content

Commit

Permalink
Fixes the job names in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anergictcell committed Feb 12, 2021
1 parent d5f52b9 commit 416d811
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
push:

jobs:
build:

test_coverage:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
Expand All @@ -29,6 +27,10 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# Basic mypy checking
mypy pyhpo
# More strict mypy checking
mypy --disallow-untyped-defs --disallow-incomplete-defs --warn-redundant-casts --warn-unused-ignores pyhpo
- name: Unittesting (complete-check)
run: |
coverage run -m unittest discover complete-check -s tests && coverage report
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- master

jobs:
build:

test_all_python_versions:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -27,4 +26,4 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Unittesting (short)
run: |
python -m unittest discover -s tests
python -m unittest discover complete-check -s tests

0 comments on commit 416d811

Please sign in to comment.