This repository was archived by the owner on Mar 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +65
-15
lines changed
Expand file tree Collapse file tree 4 files changed +65
-15
lines changed Original file line number Diff line number Diff line change 1+ name : System Tests (PR)
2+
3+ on :
4+ pull_request_target :
5+ types : [ labeled ]
6+
7+ jobs :
8+ build :
9+ name : System Tests
10+ # Since this has access to secrets, only run if the PR has manually been
11+ # deemed 'safe' to run by a maintainer.
12+ # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
13+ if : ${{ github.event.label.name == 'run-ci' }}
14+ runs-on : ubuntu-latest
15+ env :
16+ BACKENDS : " bigquery"
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ python_version : ["3.7", "3.8", "3.9"]
21+ steps :
22+ - name : checkout
23+ uses : actions/checkout@v2
24+ with :
25+ ref : ${{ github.event.pull_request.head.sha }}
26+
27+ - name : set up python ${{ matrix.python-version }}
28+ uses : actions/setup-python@v2
29+ with :
30+ python-version : ${{ matrix.python-version }}
31+
32+ - name : checkout ibis
33+ uses : actions/checkout@v2
34+ with :
35+ repository : ibis-project/ibis
36+ path : ibis
37+
38+ - name : install dependencies
39+ run : ./ci/install_deps.sh
40+
41+ - name : set up bigquery credentials
42+ run : ./ci/decrypt_secret.sh
43+ env :
44+ GCLOUD_KEY_PASSPHRASE : ${{ secrets.GCLOUD_KEY_PASSPHRASE }}
45+
46+ - name : run tests
47+ run : GOOGLE_BIGQUERY_PROJECT_ID="ibis-gbq" GOOGLE_APPLICATION_CREDENTIALS="$HOME/secrets/gcloud-service-key.json" python -m pytest tests
Original file line number Diff line number Diff line change 11name : System Tests
22
33on :
4- pull_request_target :
5- types : [ labeled ]
4+ push :
5+ branches : master
6+ schedule :
7+ - cron : 0 2 * * *
68
79jobs :
810 build :
911 name : System Tests
10- # Since this has access to secrets, only run if the PR has manually been
11- # deemed 'safe' to run by a maintainer.
12- # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
13- if : ${{ github.event.label.name == 'run-ci' }}
1412 runs-on : ubuntu-latest
1513 env :
1614 BACKENDS : " bigquery"
1715 strategy :
1816 fail-fast : false
1917 matrix :
20- python_version : ["3.7", "3.9"]
18+ python_version : ["3.7", "3.8", "3. 9"]
2119 steps :
2220 - name : checkout
2321 uses : actions/checkout@v2
24- with :
25- ref : ${{ github.event.pull_request.head.sha }}
2622
2723 - name : set up python ${{ matrix.python-version }}
2824 uses : actions/setup-python@v2
3632 path : ibis
3733
3834 - name : install dependencies
39- run : |
40- python -m pip install --upgrade pip
41- python -m pip install ./ibis
42- python -m pip install .
43- python -m pip install pytest
35+ run : ./ci/install_deps.sh
4436
4537 - name : set up bigquery credentials
4638 run : ./ci/decrypt_secret.sh
Original file line number Diff line number Diff line change 11# Ibis BigQuery backend
22
3- ibis-bigquery package
3+ This package provides a [ BigQuery] ( https://cloud.google.com/bigquery ) backend
4+ for [ Ibis] ( https://ibis-project.org/ ) .
5+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -x
5+
6+ python -m pip install --upgrade pip
7+ python -m pip install ./ibis
8+ python -m pip install .
9+ python -m pip install pytest
You can’t perform that action at this time.
0 commit comments