File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 shell : bash
6464 run : |
6565 python -m pip install --group test
66- if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
6766
6867 - name : Test with pytest
6968 run : |
@@ -154,8 +153,7 @@ jobs:
154153 shell : bash
155154 run : |
156155 python -m pip install --upgrade setuptools pip
157- python -m pip install --group dev
158- if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
156+ python -m pip install --group coverage
159157
160158 - name : Build and install
161159 run : |
Original file line number Diff line number Diff line change 3131 run : |
3232 python -m pip install --upgrade pip
3333 python -m pip install --group docs
34- python -m pip install .
35- if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
34+ python -m pip install .[all]
3635
3736 - name : Build docs
3837 run : |
Original file line number Diff line number Diff line change 3131 run : |
3232 python -m pip install --upgrade pip
3333 python -m pip install --group lint
34- if [ -f requirements-lint.txt ]; then pip install -r requirements-lint.txt; fi
3534
3635 - name : Lint (flake8)
3736 run : |
Original file line number Diff line number Diff line change 3636# rev: 6.3.0
3737# hooks:
3838# - id: pydocstyle
39- # exclude: tests|examples|data|docs
39+ # exclude: tests|examples|data|docs|setup.py
4040
4141# - repo: https://github.com/pycqa/isort
4242# rev: 7.0.0
Original file line number Diff line number Diff line change 99 os : ubuntu-22.04
1010 tools :
1111 python : " 3"
12+ jobs :
13+ install :
14+ # Since the install step is overridden, pip is no longer updated automatically.
15+ - pip install --upgrade pip
16+ - pip install --group docs
1217
1318# Build documentation in the "docs/" directory with Sphinx
1419sphinx :
@@ -27,6 +32,5 @@ formats:
2732
2833python :
2934 install :
30- - requirements : requirements-dev.txt
3135 - method : pip
3236 path : .
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments