diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a3ab2d71..55001c7e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,12 +40,11 @@ jobs: pip --version nox --version - - name: Lint code and check dependencies - continue-on-error: ${{ matrix.nox_pyv == '3.11' }} - run: nox -s lint safety --verbose + - name: Lint code + run: nox -s lint - name: Run tests - run: nox -s tests-${{ matrix.nox_pyv || matrix.pyv }} -- --slow --cov-report=xml + run: nox -s tests-${{ matrix.pyv }} -- --slow --cov-report=xml - name: Upload coverage report uses: codecov/codecov-action@v3.1.0 diff --git a/noxfile.py b/noxfile.py index d49a2e9f..bbba5853 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,14 +32,6 @@ def lint(session: nox.Session) -> None: session.run("python", "-m", "mypy") -@nox.session -def safety(session: nox.Session) -> None: - """Scan dependencies for insecure packages.""" - session.install(".[dev]") - session.install("safety") - session.run("safety", "check", "--full-report", "--ignore=67599") - - @nox.session def build(session: nox.Session) -> None: session.install("build", "setuptools", "twine")