Fix race condition when deploying table definitions (#174) #263
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: airflowTests | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: polygon-etl airflow tests | |
steps: | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8.12" | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip && | |
pip install \ | |
-r requirements_test.txt \ | |
-r airflow/requirements_local.txt \ | |
-e cli \ | |
-r airflow/requirements_airflow.txt | |
- name: Run pytest on airflow/tests | |
run: pytest -vv airflow |