Skip to content

Commit fdc951f

Browse files
author
Tom Goetz
committed
update github workflow
1 parent 115c259 commit fdc951f

2 files changed

Lines changed: 42 additions & 5 deletions

File tree

‎.github/workflows/pythonapp.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v7.0.1
1212
with:
1313
submodules: 'true'
1414
- name: Install uv
15-
uses: astral-sh/setup-uv@v6
16-
- name: Set up Python 3.13
17-
uses: actions/setup-python@v2
15+
uses: astral-sh/setup-uv@v10.2.0
16+
- name: Set up Python 3.14
17+
uses: actions/setup-python@v7
1818
with:
19-
python-version: 3.13
19+
python-version: 3.14
2020
- name: Setup repo
2121
run: |
2222
make setup_repo

‎Jupyter/Makefile‎

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export PROJECT_BASE=$(CURDIR)/..
2+
export VENV=$(PROJECT_BASE)/.venv
3+
4+
include ../defines.mk
5+
6+
7+
$(info $$PROJECT_BASE is [${PROJECT_BASE}])
8+
$(info $$VENV is [${VENV}])
9+
$(info $$PLATFORM is [${PLATFORM}])
10+
$(info $$SHELL is [${SHELL}])
11+
12+
export PIP_PATH=$(VENV)/bin/$(PIP)
13+
$(info $$PIP_PATH is [${PIP_PATH}])
14+
export PYTHON_PATH=$(VENV)/bin/$(PYTHON)
15+
$(info $$PYTHON_PATH is [${PYTHON_PATH}])
16+
17+
all: deps
18+
19+
20+
deps:
21+
$(PIP_PATH) install --upgrade --requirement requirements.txt
22+
23+
devdeps:
24+
25+
remove_deps:
26+
# $(PIP_PATH) uninstall -y --requirement requirements.txt
27+
28+
requirements.txt:
29+
$(PIP_PATH) freeze -r requirements.in > requirements.txt
30+
31+
requirements_graphs.txt:
32+
$(PIP_PATH) freeze -r requirements_graphs.in > requirements_graphs.txt
33+
34+
clean:
35+
rm -f *.pyc
36+
rm -f *.log
37+
rm -rf __pycache__

0 commit comments

Comments
 (0)