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 25b5b34
Show file tree
Hide file tree
Showing 3 changed files with 7 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
3 changes: 3 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 @@ -23,5 +24,7 @@ jobs:
run: docker build --load -t thor:$IMAGE_TAG .
- name: Lint
run: docker run -i thor:$IMAGE_TAG pre-commit run --all-files
continue-on-error: true
- name: Test
run: docker run -i thor:$IMAGE_TAG pytest . --cov
ontinue-on-error: true
2 changes: 2 additions & 0 deletions .github/workflows/pip-build-lint-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
run: pip install .[tests]
- name: Lint
run: pre-commit run --all-files
continue-on-error: true
- name: Test
run: pytest . --cov --cov-report xml
continue-on-error: true
- name: Coverage
uses: coverallsapp/github-action@v2.0.0
with:
Expand Down

0 comments on commit 25b5b34

Please sign in to comment.