Skip to content

Commit

Permalink
Create python_env.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ofmla authored Nov 21, 2023
1 parent 7133fff commit d50f44f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/python_env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Python Environment

on:
# To run manually
workflow_dispatch

jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4

- name: Install Python dependencies
run: |
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install awscli matplotlib scipy m3u8 git+https://github.com/kkroening/ffmpeg-python
- name: Install ffmpeg
run: |
sudo apt-get update
sudo apt-get install ffmpeg
- name: Hello world
run: |
python -c "import scipy as sp; print('Scipy version: '+sp.__version__)"
python -c "import matplotlib as mpl; print('Matplotlib version: '+mpl.__version__)"

0 comments on commit d50f44f

Please # to comment.