Skip to content

Commit

Permalink
Add continue_on_error to workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
moeyensj committed Nov 9, 2023
1 parent ebd5696 commit e8574e2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/conda-build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,7 @@ jobs:
run: pip install . --no-deps
- name: Lint
run: pre-commit run --all-files
continue-on-error: true
- name: Test
run: pytest . --cov
continue-on-error: true
2 changes: 2 additions & 0 deletions .github/workflows/docker-build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
runs-on: ubuntu-latest
env:
IMAGE_TAG: ${{ github.sha }}

steps:
- name: Checkout git repo
uses: actions/checkout@v3
Expand All @@ -24,4 +25,5 @@ jobs:
- name: Lint
run: docker run -i thor:$IMAGE_TAG pre-commit run --all-files
- name: Test
if: always()
run: docker run -i thor:$IMAGE_TAG pytest . --cov
1 change: 1 addition & 0 deletions .github/workflows/pip-build-lint-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
- name: Lint
run: pre-commit run --all-files
- name: Test
if: always()
run: pytest . --cov --cov-report xml
- name: Coverage
uses: coverallsapp/[email protected]
Expand Down

0 comments on commit e8574e2

Please sign in to comment.