Skip to content

Commit

Permalink
ci: cache python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
goerlibe committed Sep 11, 2023
1 parent a300934 commit b8696db
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ jobs:
[ -z "$ERROR" ] || exit 1
- name: Setup Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: 'pip' # uses requirements.txt

- name: Install Python dependencies
run: |
pip install --upgrade pip
pip install .[ci]
run: pip install -r requirements.txt

- name: "Run MyPy Type Checker - DiscoPoP Explorer"
run: python -m mypy -p discopop_explorer
Expand Down
27 changes: 18 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@

--index-url https://pypi.python.org/simple/

about-time==4.2.1
alive-progress==3.1.4
appdirs==1.4.4
black==23.7.0
click==8.1.7
contextlib2==21.6.0
contourpy==1.1.0
cycler==0.11.0
discopop @ file:///home/bg/dp-workspace/discopop
data-science-types==0.2.23
docopt==0.6.2
extrap==4.1.0
extrap==4.0.3
fonttools==4.42.1
grapheme==0.6.0
importlib-resources==6.0.1
jsonpickle==3.0.2
jsons==1.6.3
Expand All @@ -25,26 +30,30 @@ marshmallow==3.20.1
matplotlib==3.7.2
mergedeep==1.3.4
mpmath==1.3.0
mypy==1.5.1
mypy-extensions==1.0.0
networkx==3.1
numpy==1.24.4
packaging==20.9
packaging==23.1
pathspec==0.11.2
Pillow==10.0.0
pkg_resources==0.0.0
pip==23.2.1
platformdirs==3.10.0
pluginbase==1.0.1
pstats2==0.1.0
pycubexr==1.2.1
pyparsing==3.0.9
PySide6==6.5.2
PySide6-Addons==6.5.2
PySide6-Essentials==6.5.2
PySide2==5.15.2.1
python-dateutil==2.8.2
recordtype==1.4
schema==0.7.5
shiboken6==6.5.2
setuptools==44.0.0
shiboken2==5.15.2.1
six==1.16.0
sympy==1.12
sympy-plot-backends==2.4.3
tomli==2.0.1
tqdm==4.66.1
typing_extensions==4.7.1
typish==1.9.3
zipp==3.16.2
alive_progress==3.1.4

0 comments on commit b8696db

Please sign in to comment.