Skip to content

Commit

Permalink
Switch to use self hosted runners for linux unit tests (#29907)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn authored Jan 4, 2024
1 parent fe1627d commit e6e180b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-20.04, main]
name: Go Build
steps:
- name: Check out code
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/java_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
check_gcp_variables:
timeout-minutes: 5
name: "Check GCP variables set"
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-20.04, main]
outputs:
gcp-variables-set: ${{ steps.check_gcp_variables.outputs.gcp-variables-set }}
steps:
Expand All @@ -70,7 +70,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest,windows-latest]
os: [[self-hosted, ubuntu-20.04, main], windows-latest]
if: |
needs.check_gcp_variables.outputs.gcp-variables-set == 'true' && (
(github.event_name == 'push' || github.event_name == 'schedule') ||
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
check_gcp_variables:
timeout-minutes: 5
name: "Check GCP variables"
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-20.04, main]
outputs:
gcp-variables-set: ${{ steps.check_gcp_variables.outputs.gcp-variables-set }}
steps:
Expand All @@ -70,7 +70,7 @@ jobs:
)
needs:
- check_gcp_variables
runs-on: ubuntu-latest
runs-on: [self-hosted, ubuntu-20.04, main]
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
Expand All @@ -158,7 +158,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout code
Expand Down

0 comments on commit e6e180b

Please sign in to comment.