File tree 3 files changed +28
-24
lines changed
3 files changed +28
-24
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- master
8
8
- develop
9
+ - ci-debug
9
10
schedule :
10
11
- cron : " 0 12 * * 0"
11
12
@@ -21,16 +22,19 @@ jobs:
21
22
22
23
steps :
23
24
- uses : actions/checkout@v4
24
- - name : Set up Python 3.12
25
- uses : actions /setup-python @v5
25
+ - name : Install uv
26
+ uses : astral-sh /setup-uv @v5
26
27
with :
27
28
python-version : 3.12
29
+ - name : Set up Python
30
+ run : uv python install
31
+ - name : Install python essentials
32
+ run : uv pip install -U setuptools setuptools_scm wheel
33
+ - name : Install pandoc
34
+ run : sudo apt-get install pandoc
28
35
- name : Install dependencies
29
36
run : |
30
- python -m pip install --upgrade pip
31
- pip install -U setuptools setuptools_scm wheel
32
- pip install -e .[all,docs]
33
- pip install -e ./tools/odbclient
34
- sudo apt-get install pandoc
37
+ uv pip install ".[all,docs]"
38
+ uv pip install "./tools/odbclient"
35
39
- name : Build docs
36
40
run : sphinx-build -b html docs _build/html
Original file line number Diff line number Diff line change @@ -26,22 +26,23 @@ jobs:
26
26
only-minimal : true
27
27
steps :
28
28
- uses : actions/checkout@v4
29
- - name : Set up Python ${{ matrix.python-version }}
30
- uses : actions/setup-python@v5
29
+
30
+ - name : Install uv
31
+ uses : astral-sh/setup-uv@v5
31
32
with :
32
33
python-version : ${{ matrix.python-version }}
34
+ - name : Set up Python
35
+ run : uv python install
33
36
- name : Install python essentials
34
- run : |
35
- python -m pip install --upgrade pip
36
- pip install -U setuptools setuptools_scm wheel
37
+ run : uv pip install -U setuptools setuptools_scm wheel pytest-xdist
37
38
- name : Install dependencies complete
38
39
if : matrix.only-minimal != true
39
- run : pip install -e .[all,testing]
40
+ run : uv pip install -e .[all,testing]
40
41
- name : Install dependencies minimal
41
42
if : matrix.only-minimal == true
42
- run : pip install -e .[testing]
43
+ run : uv pip install -e .[testing]
43
44
- name : Unit tests
44
- run : pytest
45
+ run : pytest -n auto
45
46
- name : Notebook flow tests
46
47
if : matrix.only-minimal != true
47
48
uses : coactions/setup-xvfb@v1
Original file line number Diff line number Diff line change 10
10
jobs :
11
11
build_wheels :
12
12
name : Build wheels on for various systems
13
- runs-on : ${{ matrix.os }}
14
- strategy :
15
- matrix :
16
- os : [ubuntu-latest] # , windows-latest]
13
+ runs-on : ubuntu-latest
17
14
18
15
steps :
19
16
- uses : actions/checkout@v3
@@ -46,15 +43,17 @@ jobs:
46
43
with :
47
44
name : wheel
48
45
path : dist/
49
- - uses : actions/setup-python@v4
50
- name : Install Python
46
+ - name : Install uv
47
+ uses : astral-sh/setup-uv@v5
51
48
with :
52
49
python-version : ' 3.12'
50
+ - name : Set up Python
51
+ run : uv python install
53
52
- name : Install wheel
54
- run : pip install $(ls -1 dist/*.whl)
53
+ run : uv pip install $(ls -1 dist/*.whl)
55
54
- name : Install pytest
56
- run : pip install pytest pytest-cov
55
+ run : uv pip install pytest pytest-cov
57
56
- name : Generate test signal
58
- run : python benchmarks/generate_time_signal.py
57
+ run : uv run benchmarks/generate_time_signal.py
59
58
- name : Run benchmarks
60
59
run : pytest --no-cov -rP benchmarks
You can’t perform that action at this time.
0 commit comments