Skip to content

Instantly share code, notes, and snippets.

@GuillaumeFalourd
Created April 30, 2021 20:35
Show Gist options
  • Save GuillaumeFalourd/53fb7b2b3a98c86b659dfe5d262e1e8b to your computer and use it in GitHub Desktop.
Save GuillaumeFalourd/53fb7b2b3a98c86b659dfe5d262e1e8b to your computer and use it in GitHub Desktop.
name: Python Script Workflow
on: [push]
jobs:
job1:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Python Version
uses: actions/setup-python@v2
with:
python-version: 3.8 # Install the python version needed
- name: Install Python dependencies
run: python -m pip install --upgrade pip requests
- name: Execute Python Script # Run the run.py on the repository root directory
run: |
python run.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment