mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-09 04:19:02 +08:00
ci(server): Run tests even if linting fails
This commit is contained in:
parent
087d3a3760
commit
96ef35536c
4
.github/workflows/autogpt-server-ci.yml
vendored
4
.github/workflows/autogpt-server-ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user