This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change 11name : Publish package to PyPi
22on : [ push ]
33jobs :
4-
54 lint :
65 name : Lint
7- runs-on : python:3.7.4
6+ runs-on : ubuntu-latest
87 steps :
98 - uses : actions/checkout@master
9+ - name : Set up Python 3.10
10+ uses : actions/setup-python@v4
11+ with :
12+ python-version : ' 3.10'
13+ - uses : actions/checkout@master
1014 - name : Install flake8
1115 run : pip install flake8
1216 - name : Run lints
1317 run : flake8 airflow_dbt/ tests/ setup.py
1418
1519 test :
1620 name : Test
17- runs-on : python:3.7.4
21+ runs-on : ubuntu-latest
1822 steps :
1923 - uses : actions/checkout@master
24+ - name : Set up Python 3.10
25+ uses : actions/setup-python@v4
26+ with :
27+ python-version : ' 3.10'
2028 - name : Install deps and pytest
2129 run : pip install --progress-bar off --user . pytest
2230 - name : Run tests
23- run : fpython -m pytest tests/ -sv
31+ run : pytest tests/ -sv
2432
2533 build-n-publish :
2634 name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2735 runs-on : ubuntu-latest
2836 steps :
2937 - uses : actions/checkout@master
3038 - name : Set up Python 3.10
31- uses : actions/setup-python@v3
39+ uses : actions/setup-python@v4
3240 with :
3341 python-version : ' 3.10'
3442 - name : Install pypa/build
You can’t perform that action at this time.
0 commit comments