Skip to content

Commit

Permalink
ci: fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
MyPyDavid committed Nov 26, 2023
1 parent 57ac29a commit b7ebd00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build-test-codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
run: |
python3 -m pip install -U pip
python3 -m pip install -U build
python3 -m pip install flake8 pytest
python3 -m pip install -r requirements.txt
python3 -m pip install flake8
- name: Lint with flake8
run: |
Expand All @@ -46,11 +45,7 @@ jobs:
run: |
python3 -m build
# install the package in editable mode for the coverage report
python3 -m pip install -e .
- name: Install dependencies for coverage report
run: |
python3 -m pip install pytest pytest-cov coverage
python3 -m pip install -e .["pytest"]
- name: Generate coverage report
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test-release-candidate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8
python -m pip install pytest pytest-cov coverage
python -m pip install -U build
python -m pip install -r requirements.txt
python -m pip install --editable .[test]
python -m pip install --editable .["pytest"]
- name: Sanity check with flake8
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ dependencies = [
]

[project.optional-dependencies]
testing = [
pytest = [
"pytest",
"pytest-cov",
"pytest-flake8",
Expand Down

0 comments on commit b7ebd00

Please sign in to comment.