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 +13
-20
lines changed
Expand file tree Collapse file tree 3 files changed +13
-20
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 @@ -5,40 +5,33 @@ on: [push]
55
66jobs :
77 build :
8-
98 runs-on : ubuntu-latest
10- strategy :
11- matrix :
12- python-version : [3.11]
13-
149 steps :
15- - uses : actions/checkout@v2
16- - name : Set up Python ${{ matrix.python-version }}
17- uses : actions /setup-python@v2
10+ - uses : actions/checkout@v5
11+ - name : Install uv
12+ uses : astral-sh /setup-uv@v6
1813 with :
19- python-version : ${{ matrix.python-version }}
14+ python-version : " 3.11"
15+ - name : Set up Python 3.11
16+ run : uv python install
2017 - name : Install dependencies
18+ env :
19+ UV_SYSTEM_PYTHON : 1
2120 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"
21+ uv tool install git-annex
22+ uv tool install datalad
23+ if [ -f requirements-devel.txt ]; then uv pip install -r requirements-devel.txt; fi
2624 echo which git-annex
2725 which git-annex
2826 echo which datalad
2927 which datalad
3028 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
3529 - name : Lint with flake8
3630 run : |
3731 # stop the build if there are Python syntax errors or undefined names
3832 flake8 . --count --ignore E501,E722,E402 --show-source --statistics
3933 - name : Test with pytest
4034 run : |
41- export PATH="$PATH:/usr/share/miniconda/bin"
4235 git config --global user.email "github-test@example.com"
4336 git config --global user.name "Github Testscript"
4437 pytest
You can’t perform that action at this time.
0 commit comments