Deploy contests #110
Workflow file for this run
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: Test | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
submodules: true | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
sudo pip install pipenv && pipenv install --dev | |
- name: Run pycodestyle | |
run: pipenv run pycodestyle . | |
- name: Run mypy | |
run: pipenv run mypy --strict . |