File tree Expand file tree Collapse file tree 1 file changed +18
-16
lines changed
Expand file tree Collapse file tree 1 file changed +18
-16
lines changed Original file line number Diff line number Diff line change 1- # This workflow will install Python dependencies, run tests and lint with a single version of Python
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
41name : Python application
52
63on : [push, pull_request]
74
85jobs :
96 build :
10-
11- runs-on : ubuntu-20.04
7+ runs-on : ubuntu-latest
128
139 steps :
14- - uses : actions/checkout@v3
15- - name : Install dependencies
16- run : |
17- export DEBIAN_FRONTEND=noninteractive
18- sudo apt-get clean && sudo apt-get update
19- sudo apt-get install python3-dev python3 python3-pip -y
20- python --version
21- pip install nose2
22- - name : Test
23- run : |
24- cd data-processing-tools && nose2
10+ - uses : actions/checkout@v4
11+
12+ - name : Set up Python 3.11
13+ uses : actions/setup-python@v5
14+ with :
15+ python-version : ' 3.11'
16+
17+ - name : Install dependencies
18+ run : |
19+ python --version
20+ pip install nose2 pyyaml
21+
22+ - name : Test
23+ run : |
24+ cd data-processing-tools
25+ nose2
26+
You can’t perform that action at this time.
0 commit comments