File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 38
38
- name : Cache nox
39
39
uses : actions/cache@v4
40
40
with :
41
- key : test-${{ hashFiles('pyproject.toml') }}
41
+ key : test-${{ hashFiles('pyproject.toml') }}-${{ env.pythonLocation }}
42
42
path : .nox
43
43
44
44
- name : Set up Python
51
51
- name : Install nox and coverage.py
52
52
run : python -m pip install coverage[toml] nox
53
53
54
+ - name : Install ubuntu dependencies for fitsio
55
+ run : sudo apt-get install -y libbz2-dev
56
+
54
57
- name : Run doctests
55
58
run : nox -s doctests-${{ matrix.python-version }} --verbose
56
59
env :
Original file line number Diff line number Diff line change 7
7
import nox
8
8
9
9
# Options to modify nox behaviour
10
+ nox .options .default_venv_backend = "uv|virtualenv"
10
11
nox .options .reuse_existing_virtualenvs = True
11
- nox .options .sessions = ["lint" , "tests" ]
12
+ nox .options .sessions = [
13
+ "lint" ,
14
+ "tests" ,
15
+ ]
12
16
13
17
ALL_PYTHON = [
14
18
"3.10" ,
You can’t perform that action at this time.
0 commit comments