Last active
September 24, 2020 18:43
-
-
Save epwalsh/a730b332e71bdd4c96c189f63a14764d to your computer and use it in GitHub Desktop.
Python GitHub Actions
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: 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