diff --git a/.github/workflows/deploy_pr_tests.yaml b/.github/workflows/deploy_pr_tests.yaml new file mode 100644 index 00000000..58c040c1 --- /dev/null +++ b/.github/workflows/deploy_pr_tests.yaml @@ -0,0 +1,21 @@ +name: Deploy PR Tests + +on: + workflow_dispatch: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + update-testing-data: + uses: ./.github/workflows/update-testing-data.yml + + run-tests: + needs: update-testing-data + uses: ./.github/workflows/run-tests.yml + + dev-tests: + needs: update-testing-data + uses: ./.github/workflows/dev-testing.yaml diff --git a/.github/workflows/dev-testing.yaml b/.github/workflows/dev-testing.yaml index 65d595ff..af695647 100644 --- a/.github/workflows/dev-testing.yaml +++ b/.github/workflows/dev-testing.yaml @@ -1,11 +1,7 @@ name: Dev Testing on: - pull_request: workflow_dispatch: - -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + workflow_call: jobs: run: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9aa460cb..ab173ca5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,13 +1,8 @@ name: Full Tests on: - pull_request: workflow_dispatch: workflow_call: -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - jobs: run: name: Full tests on ${{ matrix.os }} with Python ${{ matrix.python-version }} diff --git a/.github/workflows/update-testing-data.yml b/.github/workflows/update-testing-data.yml index f047ce4b..cbf342cc 100644 --- a/.github/workflows/update-testing-data.yml +++ b/.github/workflows/update-testing-data.yml @@ -38,7 +38,7 @@ jobs: - if: steps.cache-ophys-datasets.outputs.cache-hit == false name: Install and configure AWS CLI run: | - pip install awscli==1.29.56 + pip install awscli aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} - if: steps.cache-ophys-datasets.outputs.cache-hit == false diff --git a/CHANGELOG.md b/CHANGELOG.md index 2287c6ae..ad9780b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * Remove unnecessary `scipy` import error handling: [#315](https://github.com/catalystneuro/roiextractors/pull/315) * Fixed the typing returned by the `InscopixImagingExtractor.get_dtype` method: [#326](https://github.com/catalystneuro/roiextractors/pull/326) * Detect Changelog Updates was moved to its own dedicated workflow to avoid daily testing failures: [#336](https://github.com/catalystneuro/roiextractors/pull/336) +* Fixed the Update Testing Data Workflow by unpinning the version of awscli: [#339](https://github.com/catalystneuro/roiextractors/pull/339) ### Improvements