Skip to content

Commit

Permalink
Fix needs
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed Jun 12, 2024
1 parent 712b429 commit b1a0122
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ibis-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
docker compose --env-file .env up -d
ci:
runs-on: ubuntu-latest
needs: [ruff-check, java-engine]
needs: [ ruff-check, build-java-and-run-engine, run-latest-docker-image ]
if: always() && (needs.ruff-check.result == 'success' && (needs.build-java-and-run-engine.result == 'success' || needs.run-latest-docker-image.result == 'success'))
steps:
- uses: actions/checkout@v4
- name: Install poetry
Expand All @@ -87,14 +88,14 @@ jobs:
WREN_ENGINE_ENDPOINT: http://localhost:8080
run: poetry run pytest -m "not bigquery and not snowflake"
- name: Test bigquery if need
if : contains(github.event.pull_request.labels.*.name, 'bigquery')
if: contains(github.event.pull_request.labels.*.name, 'bigquery')
env:
WREN_ENGINE_ENDPOINT: http://localhost:8080
TEST_BIG_QUERY_PROJECT_ID: ${{ secrets.TEST_BIG_QUERY_PROJECT_ID }}
TEST_BIG_QUERY_CREDENTIALS_BASE64_JSON: ${{ secrets.TEST_BIG_QUERY_CREDENTIALS_BASE64_JSON }}
run: poetry run pytest -m bigquery
- name: Test snowflake if need
if : contains(github.event.pull_request.labels.*.name, 'snowflake')
if: contains(github.event.pull_request.labels.*.name, 'snowflake')
env:
WREN_ENGINE_ENDPOINT: http://localhost:8080
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
Expand Down

0 comments on commit b1a0122

Please sign in to comment.