This repository was archived by the owner on Jul 24, 2024. It is now read-only.
File tree 1 file changed +15
-4
lines changed
1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish package to PyPi
2
2
on : [ push ]
3
3
jobs :
4
-
5
4
lint :
6
5
name : Lint
7
- runs-on : python:3.7.4
6
+ runs-on : ubuntu-latest
8
7
steps :
9
8
- 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
+ cache : ' pip'
14
+ - uses : actions/checkout@master
10
15
- name : Install flake8
11
16
run : pip install flake8
12
17
- name : Run lints
13
18
run : flake8 airflow_dbt/ tests/ setup.py
14
19
15
20
test :
16
21
name : Test
17
- runs-on : python:3.7.4
22
+ runs-on : ubuntu-latest
18
23
steps :
19
24
- uses : actions/checkout@master
25
+ - name : Set up Python 3.10
26
+ uses : actions/setup-python@v4
27
+ with :
28
+ python-version : ' 3.10'
29
+ cache : ' pip'
20
30
- name : Install deps and pytest
21
31
run : pip install --progress-bar off --user . pytest
22
32
- name : Run tests
28
38
steps :
29
39
- uses : actions/checkout@master
30
40
- name : Set up Python 3.10
31
- uses : actions/setup-python@v3
41
+ uses : actions/setup-python@v4
32
42
with :
33
43
python-version : ' 3.10'
44
+ cache : ' pip'
34
45
- name : Install pypa/build
35
46
run : pip install build --user
36
47
- name : Build a binary wheel and a source tarball
You can’t perform that action at this time.
0 commit comments