Skip to content

Instantly share code, notes, and snippets.

@epwalsh
Last active September 24, 2020 18:43
Show Gist options
  • Save epwalsh/a730b332e71bdd4c96c189f63a14764d to your computer and use it in GitHub Desktop.
Save epwalsh/a730b332e71bdd4c96c189f63a14764d to your computer and use it in GitHub Desktop.
Python GitHub Actions
name: PR
on:
pull_request:
branches:
- master
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install requirements
run: |
pip install -r dev-requirements.txt -e .
# Linting, testing, etc. would go below this...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment