From 427819414aaf8dfd69d89f3e5b7a376204b70f16 Mon Sep 17 00:00:00 2001 From: Roman Bredehoft Date: Thu, 23 May 2024 17:57:46 +0200 Subject: [PATCH] chore: fix weekly workflow --- .github/workflows/continuous-integration.yaml | 12 ++++++------ .github/workflows/weekly_tests.yaml | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 50e389c1a..d65c303ce 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -247,7 +247,7 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - - name: Start EC2 runner python 38 + - name: Start EC2 runner python 3.8 id: start-ec2-runner-38 if: ${{ !cancelled() && fromJSON(needs.matrix-preparation.outputs.needs-38-linux-runner) }} uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e @@ -271,7 +271,7 @@ jobs: {"Key": "Team", "Value": "CML"} ] - - name: Start EC2 runner python 39 + - name: Start EC2 runner python 3.9 id: start-ec2-runner-39 if: ${{ !cancelled() && fromJSON(needs.matrix-preparation.outputs.needs-39-linux-runner) }} uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e @@ -295,7 +295,7 @@ jobs: {"Key": "Team", "Value": "CML"} ] - - name: Start EC2 runner python 310 + - name: Start EC2 runner python 3.10 id: start-ec2-runner-310 if: ${{ !cancelled() && fromJSON(needs.matrix-preparation.outputs.needs-310-linux-runner) }} uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e @@ -975,7 +975,7 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: ${{ secrets.AWS_REGION }} - - name: Stop EC2 runner python 38 + - name: Stop EC2 runner python 3.8 uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e if: ${{ always() && needs.start-runner-linux.outputs.ec2-instance-id-38 }} with: @@ -984,7 +984,7 @@ jobs: ec2-instance-id: ${{ needs.start-runner-linux.outputs.ec2-instance-id-38 }} mode: stop - - name: Stop EC2 runner python 39 + - name: Stop EC2 runner python 3.9 uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e if: ${{ always() && needs.start-runner-linux.outputs.ec2-instance-id-39 }} with: @@ -993,7 +993,7 @@ jobs: ec2-instance-id: ${{ needs.start-runner-linux.outputs.ec2-instance-id-39 }} mode: stop - - name: Stop EC2 runner python 310 + - name: Stop EC2 runner python 3.10 uses: machulav/ec2-github-runner@fcfb31a5760dad1314a64a0e172b78ec6fc8a17e if: ${{ always() && needs.start-runner-linux.outputs.ec2-instance-id-310 }} with: diff --git a/.github/workflows/weekly_tests.yaml b/.github/workflows/weekly_tests.yaml index 74b8d93fd..332e6f5f3 100644 --- a/.github/workflows/weekly_tests.yaml +++ b/.github/workflows/weekly_tests.yaml @@ -18,5 +18,6 @@ jobs: weekly-tests: name: Run weekly tests uses: ./.github/workflows/continuous-integration.yaml + secrets: inherit with: event_name: "weekly"