Skip to content

Commit

Permalink
ci(github-actions): update action versions and comment out POETRY_VIR…
Browse files Browse the repository at this point in the history
…TUALENVS_CREATE
  • Loading branch information
Lee-W committed Sep 30, 2023
1 parent b437e1e commit 471048c
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,37 @@ name: Python CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
env:
POETRY_VIRTUALENVS_CREATE: false
# 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
- uses: actions/checkout@v4

- name: Install dependencies
run: |
pip install -U poetry
poetry install
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Run linters
run: make lint
- name: Install dependencies
run: |
pip install -U poetry
poetry install
- name: Run test
run: make test
- name: Run linters
run: make lint

- name: Coverage
run: make coverage
- name: Run test
run: make test

- name: Coverage
run: make coverage

# CD part
# - name: Push dags to GCS
Expand Down

0 comments on commit 471048c

Please sign in to comment.