Skip to content

Commit

Permalink
Remove usage of large runners on scheduled job
Browse files Browse the repository at this point in the history
  • Loading branch information
rashidnhm committed Sep 16, 2024
1 parent c2c1ede commit 18fd83e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ env:
DEPS_BRANCH: bot/stable-deps-update

jobs:
determine_runner:
if: github.event.pull_request.draft == false
name: Determine runner type to use
uses: ./.github/workflows/determine-workflow-runner.yml
with:
default_runner: ubuntu-latest

tests:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/interface-unit-tests.yml
Expand All @@ -48,9 +41,9 @@ jobs:
pytest_store_durations: false

upload-stable-deps:
needs: [tests, determine_runner]
runs-on: ${{ needs.determine_runner.outputs.runner_group }}
if: ${{ github.event_name == 'push' }}
needs: [tests]
runs-on: ubuntu-latest
if: ${{ github.event_name == 'schedule' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 18fd83e

Please sign in to comment.