Skip to content

Commit

Permalink
simplify all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffjennings committed Sep 3, 2024
1 parent 3bbb169 commit 4400d29
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ jobs:
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install docs dependencies
- name: Install package and dependencies
run: |
sudo apt-get install pandoc
pip install setuptools --upgrade
pip install .[test,docs]
- name: Make docs
run: |
pip install .
cd docs
make html
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/format_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install dependencies
- name: Install package and dependencies
run: |
pip install setuptools --upgrade
pip install .[coding_standards]
- name: Install package
run: pip install .

- name: Run `ruff` linter / formatter
run: ruff check .
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install package and dependencies for tests
- name: Install package and dependencies
run: |
pip install setuptools --upgrade
pip install .[test]
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/type_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ jobs:
- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install dependencies
- name: Install package and dependencies
run: |
pip install setuptools --upgrade
pip install .[type_checking]
- name: Install package
run: pip install .

- name: Run `mypy` type checker
# proceed even if mypy checking fails:
continue-on-error: true
Expand Down

0 comments on commit 4400d29

Please sign in to comment.