Skip to content

Commit daa64f4

Browse files
committed
Fix CI
1 parent 4feb3ba commit daa64f4

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

.github/workflows/run-tests.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
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-
41
name: Python application
52

63
on: [push, pull_request]
74

85
jobs:
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+

0 commit comments

Comments
 (0)