Skip to content

Commit

Permalink
Run ASV benchmark by activatinh EC2 runners on PR
Browse files Browse the repository at this point in the history
This reverts "Disable ec2 runners on PR (#1357)"

This reverts commit 198c9cc.
  • Loading branch information
G-D-Petrov authored and jjerphan committed Mar 4, 2024
1 parent d8e73f1 commit 3530dc4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/analysis_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,15 +192,13 @@ jobs:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

start_ec2_runner:
if: github.event_name == 'schedule'
uses: ./.github/workflows/ec2_runner_jobs.yml
secrets: inherit
with:
job_type: start

benchmark_linux_medium:
timeout-minutes: 1200
if: github.event_name == 'schedule'
needs: [start_ec2_runner, cibw_docker_image]
runs-on: ${{ needs.start_ec2_runner.outputs.label }}
container:
Expand Down Expand Up @@ -240,7 +238,7 @@ jobs:
echo /opt/python/cp36-cp36m/bin >> $GITHUB_PATH
- name: Install ASV
shell: bash -el {0}
shell: bash
run: |
git config --global --add safe.directory .
python -m pip install --upgrade pip
Expand Down Expand Up @@ -290,7 +288,7 @@ jobs:
stop-ec2-runner:
needs: [start_ec2_runner, benchmark_linux_medium]
if: github.event_name == 'schedule'
if: ${{ always() }}
uses: ./.github/workflows/ec2_runner_jobs.yml
secrets: inherit
with:
Expand Down

0 comments on commit 3530dc4

Please sign in to comment.