Skip to content

Commit

Permalink
ci(bigquery): run some bigquery unit tests against PRs (#8827)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Mar 29, 2024
1 parent 010d92d commit 7ecfaaf
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ibis-backends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,50 @@ env:
HYPOTHESIS_PROFILE: "ci"

jobs:
test_bigquery_lite:
name: BigQuery ${{ matrix.os }} python-${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
python-version:
- "3.9"
- "3.11"
steps:
- name: checkout
uses: actions/checkout@v4

- name: install poetry
run: pipx install 'poetry==1.8.2'

- name: install python
uses: actions/setup-python@v5
id: install_python
with:
python-version: ${{ matrix.python-version }}
cache: poetry

- name: install ibis
run: poetry install --without dev --without docs --extras bigquery

- uses: extractions/setup-just@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: run simple bigquery unit tests
run: just ci-check ibis/backends/bigquery/tests/unit

- name: upload code coverage
if: success()
continue-on-error: true
uses: codecov/codecov-action@v4
with:
flags: backend,bigquery,${{ runner.os }},python-${{ steps.install_python.outputs.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}

test_backends:
name: ${{ matrix.backend.title }} ${{ matrix.os }} python-${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 7ecfaaf

Please sign in to comment.