Finance #378
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: Python CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
POETRY_VIRTUALENVS_CREATE: false | |
AIRFLOW_TEST_MODE: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
pip install poetry==1.1.14 | |
poetry config experimental.new-installer false | |
poetry install | |
- name: Run linters | |
run: make lint | |
- name: Run test | |
run: make test | |
- name: Coverage | |
run: make coverage | |
# CD part | |
# - name: Push dags to GCS | |
# not implemented yet |