Skip to content

Commit 7872636

Browse files
authored
Adding python env
1 parent 81e21b7 commit 7872636

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/python_env.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Python Environment
2+
3+
on:
4+
# To run manually
5+
workflow_dispatch
6+
7+
jobs:
8+
setup:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/setup-python@v5
12+
13+
- name: Install Python dependencies
14+
run: |
15+
python -m pip install -U pip
16+
python -m pip install -U setuptools wheel
17+
python -m pip install matplotlib scipy
18+
19+
- name: Hello World
20+
run: |
21+
python -c "import scipy as sp; print('Scipy version: '+sp.__version__)"
22+
python -c "import matplotlib as mpl; print('Matplotlib version: '+mpl.__version__)"

0 commit comments

Comments
 (0)