-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into better-inline-filter
- Loading branch information
Showing
78 changed files
with
36,872 additions
and
535 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Looker Integration CI | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "grai-integrations/source-looker/**" | ||
- ".github/workflows/integration-looker-ci.yml" | ||
env: | ||
py_ver: "3.10" | ||
poetry_ver: "1.3.2" | ||
project_dir: "grai-integrations/source-looker" | ||
|
||
jobs: | ||
lint-integration-looker: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ${{ env.project_dir }} | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Python | ||
id: setup-python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "${{ env.py_ver }}" | ||
|
||
- run: pip install black isort | ||
|
||
- run: | | ||
black . --check | ||
isort . --profile black | ||
tests-integration-looker: | ||
needs: lint-integration-looker | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ${{ env.project_dir }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "${{ env.py_ver }}" | ||
|
||
- uses: abatilo/actions-poetry@v2 | ||
with: | ||
poetry-version: "${{ env.poetry_ver }}" | ||
|
||
- run: poetry install | ||
- run: poetry run pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.