Make flake8 task happy on Gitea.
Some checks failed
Pull Request Labeler / triage (pull_request) Failing after 6s
Lint / Run golangci-lint (pull_request) Failing after 1m13s
Dependency Review / dependency-review (pull_request) Failing after 1m16s
Semgrep / Scan (pull_request) Failing after 23s
Lint / Run flake8 on python integration tests (pull_request) Failing after 1m33s
Run Gosec / Gosec (pull_request) Failing after 27s
Tests / cleanup-runs (pull_request) Successful in 5s
Tests / test-unit-cover (pull_request) Failing after 35s
Tests / test-importer (pull_request) Failing after 1m10s
Tests / test-rpc (pull_request) Failing after 1m9s
Tests / sdk_tests (pull_request) Failing after 16m33s

This commit is contained in:
Thomas E Lackey 2024-01-22 16:41:15 -06:00
parent ca305d2642
commit c9b53f08a3

View File

@ -35,6 +35,9 @@ jobs:
if: env.GIT_DIFF
python-lint:
# For compatibility with Gitea
env:
USER: root
name: Run flake8 on python integration tests
runs-on: ubuntu-latest
steps:
@ -49,4 +52,4 @@ jobs:
**/**.py
- run: |
nix-shell -I nixpkgs=./nix -p test-env --run "make lint-py"
if: env.GIT_DIFF
if: env.GIT_DIFF