This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
Notice of PipelineWise being shrank #57
Workflow file for this run
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
name: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
lint_and_test: | |
name: Linting and Testing | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [ 3.7, 3.8, 3.9 ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup virtual environment | |
run: make venv | |
- name: Code formatting | |
run: make format | |
- name: Pylinting | |
run: make pylint | |
integration_test: | |
name: Integration Testing | |
runs-on: ubuntu-latest | |
environment: ci_tests | |
strategy: | |
matrix: | |
python-version: [ 3.7, 3.8, 3.9 ] | |
concurrency: | |
group: integration_tests-${{ github.head_ref }} | |
cancel-in-progress: true | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup virtual environment | |
run: make venv | |
- name: Integration tests | |
run: make integration_test | |
env: | |
TAP_SNOWFLAKE_ACCOUNT: ${{ secrets.TAP_SNOWFLAKE_ACCOUNT }} | |
TAP_SNOWFLAKE_DBNAME: ${{ secrets.TAP_SNOWFLAKE_DBNAME }} | |
TAP_SNOWFLAKE_USER: ${{ secrets.TAP_SNOWFLAKE_USER }} | |
TAP_SNOWFLAKE_PASSWORD: ${{ secrets.TAP_SNOWFLAKE_PASSWORD }} | |
TAP_SNOWFLAKE_WAREHOUSE: ${{ secrets.TAP_SNOWFLAKE_WAREHOUSE }} |