Skip to content

Commit

Permalink
SNOW-1349055 CI change: use ubuntu-latest for small tasks (#1446)
Browse files Browse the repository at this point in the history
Please answer these questions before submitting your pull requests.
Thanks!

1. What GitHub issue is this PR addressing? Make sure that there is an
accompanying issue to your PR.

   Fixes SNOW-1349055 CI change: use ubuntu-latest for small tasks

2. Fill out the following pre-review checklist:

- [ ] I am adding a new automated test(s) to verify correctness of my
new code
   - [ ] I am adding new logging messages
   - [ ] I am adding a new telemetry message
   - [ ] I am adding new credentials
   - [ ] I am adding a new dependency

3. Please describe how your code solves the related issue.

Please write a short description of how your code change solves the
related issue.

For small tasks, use `ubuntu-latest` instead of 64-core machines.
  • Loading branch information
sfc-gh-azhan authored Apr 27, 2024
1 parent c4ed526 commit ed89373
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/daily_modin_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
jobs:
lint:
name: Check linting
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -40,7 +40,7 @@ jobs:
build:
needs: lint
name: Build Wheel File
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -62,7 +62,7 @@ jobs:
test-unsupported-py38:
name: Test importing Snowpark pandas with Python 3.8 fails
needs: build
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
if: ${{ success() || failure() }}
name: Combine coverage
needs: test
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
doc:
needs: lint
name: Build Doc
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/daily_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
jobs:
lint:
name: Check linting
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -40,7 +40,7 @@ jobs:

type_checking:
name: Type Checking
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -59,7 +59,7 @@ jobs:
build:
needs: lint
name: Build Wheel File
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -453,7 +453,7 @@ jobs:
if: ${{ success() || failure() }}
name: Combine coverage
needs: test
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -501,7 +501,7 @@ jobs:
doc:
needs: lint
name: Build Doc
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ concurrency:
jobs:
lint:
name: Check linting
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -38,7 +38,7 @@ jobs:

type_checking:
name: Type Checking
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -57,7 +57,7 @@ jobs:
build:
needs: lint
name: Build Wheel File
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -474,7 +474,7 @@ jobs:
needs:
- test
- test-snowpark-pandas
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -522,7 +522,7 @@ jobs:
doc:
needs: lint
name: Build Doc
runs-on: ubuntu-latest-64-cores
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down

0 comments on commit ed89373

Please sign in to comment.