Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci(server): Run tests even if linting fails

Reinier van der Leer96ef35536c54
diff --git a/.github/workflows/autogpt-server-ci.yml b/.github/workflows/autogpt-server-ci.yml
index 0551ae6e70..12c4141d6c 100644
--- a/.github/workflows/autogpt-server-ci.yml
+++ b/.github/workflows/autogpt-server-ci.yml
@@ -134,13 +134,15 @@ jobs:
if: matrix.db-platform == 'sqlite'
run: poetry run prisma migrate dev --name updates
- - name: Run Linter
+ - id: lint
+ name: Run Linter
run: poetry run lint
- name: Run pytest with coverage
run: |
poetry run pytest -vv \
test
+ if: success() || (failure() && steps.lint.outcome == 'failure')
env:
CI: true
PLAIN_OUTPUT: True