From 25b5b34d3cfc86c1d160a9f1655957661c98ae0d Mon Sep 17 00:00:00 2001 From: Joachim Moeyens Date: Thu, 9 Nov 2023 11:44:23 -0800 Subject: [PATCH] Add continue_on_error to workflows --- .github/workflows/conda-build-lint-test.yml | 2 ++ .github/workflows/docker-build-lint-test.yml | 3 +++ .github/workflows/pip-build-lint-test-coverage.yml | 2 ++ 3 files changed, 7 insertions(+) diff --git a/.github/workflows/conda-build-lint-test.yml b/.github/workflows/conda-build-lint-test.yml index cd62fd52..460ca3d2 100644 --- a/.github/workflows/conda-build-lint-test.yml +++ b/.github/workflows/conda-build-lint-test.yml @@ -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 diff --git a/.github/workflows/docker-build-lint-test.yml b/.github/workflows/docker-build-lint-test.yml index 3cf7f467..c9fcc414 100644 --- a/.github/workflows/docker-build-lint-test.yml +++ b/.github/workflows/docker-build-lint-test.yml @@ -12,6 +12,7 @@ jobs: runs-on: ubuntu-latest env: IMAGE_TAG: ${{ github.sha }} + steps: - name: Checkout git repo uses: actions/checkout@v3 @@ -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 diff --git a/.github/workflows/pip-build-lint-test-coverage.yml b/.github/workflows/pip-build-lint-test-coverage.yml index de770ea1..2a6b3fa8 100644 --- a/.github/workflows/pip-build-lint-test-coverage.yml +++ b/.github/workflows/pip-build-lint-test-coverage.yml @@ -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: