From 2ec494b4b9ba3a90bfa3d238539847c1aeb6bbc0 Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Fri, 28 Mar 2025 17:55:58 +0400 Subject: [PATCH] Revert downloads CI tests changes It wasn't properly being triggered after the core tests. this reverts so that the download tests just run whatever --- .github/workflows/tests-download.yaml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests-download.yaml b/.github/workflows/tests-download.yaml index 0aafdd6..a68231f 100644 --- a/.github/workflows/tests-download.yaml +++ b/.github/workflows/tests-download.yaml @@ -1,20 +1,15 @@ name: Download Tests on: - # Schedule this workflow to run every Monday at 14:35 UTC schedule: - cron: '35 14 * * 1' - - # For PRs, run the tests-core workflow first - workflow_run: - workflows: ["Core Tests"] - types: - - completed + pull_request: + branches: [ main ] + paths: + - src/** jobs: tests: - # Only run if the triggering workflow (tests-core) succeeded - if: ${{ github.event_name == 'schedule' || github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -26,11 +21,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - # For PRs, use the head commit SHA from the triggering workflow - ref: ${{ github.event.workflow_run.head_sha || github.ref }} - # If PR is from a fork, we need fetch-depth: 0 - fetch-depth: ${{ github.event.workflow_run.head_repository.fork && '0' || '1' }} - name: Install poetry run: pipx install poetry