Python Environment #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Environment | |
on: | |
# To run manually | |
workflow_dispatch | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v5 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install matplotlib numpy | |
- name: Hello World | |
run: | | |
python -c "import numpy as np; print('Numpy version: '+np.__version__)" | |
python -c "import matplotlib as mpl; print('Matplotlib version: '+mpl.__version__)" |