Skip to content

Commit 4400d29

Browse files
committed
simplify all workflows
1 parent 3bbb169 commit 4400d29

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.github/workflows/docs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,14 @@ jobs:
2929
- name: Display Python version
3030
run: python -c "import sys; print(sys.version)"
3131

32-
- name: Install docs dependencies
32+
- name: Install package and dependencies
3333
run: |
3434
sudo apt-get install pandoc
3535
pip install setuptools --upgrade
3636
pip install .[test,docs]
3737
3838
- name: Make docs
3939
run: |
40-
pip install .
4140
cd docs
4241
make html
4342

.github/workflows/format_lint.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ jobs:
1818
- name: Display Python version
1919
run: python -c "import sys; print(sys.version)"
2020

21-
- name: Install dependencies
21+
- name: Install package and dependencies
2222
run: |
2323
pip install setuptools --upgrade
2424
pip install .[coding_standards]
2525
26-
- name: Install package
27-
run: pip install .
28-
2926
- name: Run `ruff` linter / formatter
3027
run: ruff check .

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Display Python version
2323
run: python -c "import sys; print(sys.version)"
2424

25-
- name: Install package and dependencies for tests
25+
- name: Install package and dependencies
2626
run: |
2727
pip install setuptools --upgrade
2828
pip install .[test]

.github/workflows/type_check.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@ jobs:
1818
- name: Display Python version
1919
run: python -c "import sys; print(sys.version)"
2020

21-
- name: Install dependencies
21+
- name: Install package and dependencies
2222
run: |
2323
pip install setuptools --upgrade
2424
pip install .[type_checking]
2525
26-
- name: Install package
27-
run: pip install .
28-
2926
- name: Run `mypy` type checker
3027
# proceed even if mypy checking fails:
3128
continue-on-error: true

0 commit comments

Comments
 (0)