Skip to content

Commit

Permalink
Use 4 core instead of 8 core machines in GH actions (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenxu95 authored Apr 12, 2023
1 parent df3031c commit b4692b8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:

jobs:
run-tests-basic:
runs-on: ubuntu-latest-8-cores
timeout-minutes: 20
runs-on: ubuntu-latest-4-cores
timeout-minutes: 30
name: All Integration Tests with Basic Config
steps:
- uses: actions/checkout@v2
Expand All @@ -29,7 +29,7 @@ jobs:
s3_test_config_path: premerge-basic-test-config.yml

- name: Run the SDK Integration Tests
timeout-minutes: 10
timeout-minutes: 20
working-directory: integration_tests/sdk
run: python3 run_tests.py -n 8

Expand Down Expand Up @@ -58,8 +58,8 @@ jobs:
prefix: Basic

run-tests-s3-storage:
runs-on: ubuntu-latest-8-cores
timeout-minutes: 20
runs-on: ubuntu-latest-4-cores
timeout-minutes: 30
name: SDK Integration Tests with S3 Storage Layer
steps:
- uses: actions/checkout@v2
Expand All @@ -79,7 +79,7 @@ jobs:
run: aqueduct install s3

- name: Run the SDK Integration Aqueduct Tests
timeout-minutes: 10
timeout-minutes: 20
working-directory: integration_tests/sdk
run: python3 run_tests.py --aqueduct -n 8

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/periodic-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
run-k8s-tests:
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest-4-cores
timeout-minutes: 90
name: SDK Integration Tests against K8s Compute
steps:
Expand Down Expand Up @@ -128,11 +128,11 @@ jobs:
aws_access_key_id: ${{ secrets.KENNY_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.KENNY_AWS_SECRET_ACCESS_KEY }}
s3_test_config_path: periodic-data-integration-test-config.yml

- name: Install any data connector packages
run: |
aqueduct install redshift
- name: Setup Hosted Data Integrations
working-directory: scripts/data
run: python3 setup_hosted.py --aws-key-id ${{ secrets.SAURAV_AWS_ACCESS_KEY_ID }} --aws-secret-key ${{ secrets.SAURAV_AWS_SECRET_ACCESS_KEY }}
Expand All @@ -145,7 +145,7 @@ jobs:
if: always()
with:
prefix: Data Connectors

- name: Teardown Hosted Data Integrations
if: always()
working-directory: scripts/data
Expand Down

0 comments on commit b4692b8

Please sign in to comment.