This repository was archived by the owner on Jan 22, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-28
lines changed
Expand file tree Collapse file tree 3 files changed +14
-28
lines changed Original file line number Diff line number Diff line change 1919 steps :
2020
2121 - name : Checkout tools repo
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v5
2323 with :
2424 repository : psychoinformatics-de/sfb1451_data_entry
2525 path : sfb1451_data_entry
Original file line number Diff line number Diff line change 1919 steps :
2020
2121 - name : Checkout tools repo
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v5
2323 with :
2424 repository : psychoinformatics-de/sfb1451_data_entry
2525 path : sfb1451_data_entry
Original file line number Diff line number Diff line change 1-
21name : Server tests
32
43on : [push]
54
65jobs :
76 build :
8-
97 runs-on : ubuntu-latest
10- strategy :
11- matrix :
12- python-version : [3.11]
13-
148 steps :
15- - uses : actions/checkout@v2
16- - name : Set up Python ${{ matrix.python-version }}
17- uses : actions /setup-python@v2
9+ - uses : actions/checkout@v5
10+ - name : Install uv
11+ uses : astral-sh /setup-uv@v6
1812 with :
19- python-version : ${{ matrix.python-version }}
13+ python-version : " 3.11"
14+ - name : Set up Python 3.11
15+ run : uv python install
2016 - name : Install dependencies
2117 run : |
22- python -m pip install --upgrade pip
23- python -m pip install datalad-installer
24- datalad-installer datalad git-annex
25- export PATH="$PATH:/usr/share/miniconda/bin"
26- echo which git-annex
27- which git-annex
28- echo which datalad
29- which datalad
30- datalad --version
31- if [ -f requirements-devel.txt ]; then pip install -r requirements-devel.txt; fi
32- pip install datalad --upgrade
33- which datalad
34- datalad --version
18+ uv tool install git-annex
19+ uv tool install datalad
20+ uv venv
21+ uv pip install -r requirements-devel.txt
3522 - name : Lint with flake8
3623 run : |
3724 # stop the build if there are Python syntax errors or undefined names
38- flake8 . --count --ignore E501,E722,E402 --show-source --statistics
25+ uv run flake8 . --exclude .venv --count --ignore E501,E722,E402 --show-source --statistics
3926 - name : Test with pytest
4027 run : |
41- export PATH="$PATH:/usr/share/miniconda/bin"
4228 git config --global user.email "github-test@example.com"
4329 git config --global user.name "Github Testscript"
44- pytest
30+ uv run pytest
You can’t perform that action at this time.
0 commit comments