Skip to content

Commit

Permalink
💚 chore(ci): Temporary fix for 'pipx install ' in Tests workflow
Browse files Browse the repository at this point in the history
Mute 'safety' Nox session to merge existing PRs with dependencies
  • Loading branch information
hotenov committed Aug 9, 2024
1 parent 2a2b5fb commit 9678d1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
include:
- { python: "3.10", os: ubuntu-latest, session: "pre-commit" }
- { python: "3.10", os: ubuntu-latest, session: "safety" }
# - { python: "3.10", os: ubuntu-latest, session: "safety" }
- { python: "3.10", os: ubuntu-latest, session: "mypy" }
- { python: "3.9", os: ubuntu-latest, session: "mypy" }
- { python: "3.8", os: ubuntu-latest, session: "mypy" }
Expand Down Expand Up @@ -56,13 +56,13 @@ jobs:
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/poetry-constraints.txt poetry
pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/poetry-constraints.txt poetry
poetry --version
- name: Install Nox
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Compute pre-commit cache key
Expand Down Expand Up @@ -130,13 +130,13 @@ jobs:
- name: Install Poetry
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry
pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt poetry
poetry --version
- name: Install Nox
run: |
pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry
pipx install --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox
pipx inject --pip-args=--constraint=${{ github.workspace }}/.github/workflows/constraints.txt nox nox-poetry
nox --version
- name: Download coverage data
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
"safety",
# "safety",
"mypy",
"tests",
"typeguard",
Expand Down

0 comments on commit 9678d1c

Please sign in to comment.