Rewrite CI to a Modern Standard #99
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: CI | ||
on: | ||
- push | ||
- pull_request | ||
defaults: | ||
run: | ||
shell: bash | ||
env: | ||
# testing on windows | ||
PYTHONUTF=1 | ||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- 3.8 | ||
steps: | ||
- name: Set up repo | ||
uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: pipenv | ||
- name: Install dependencies | ||
run: | | ||
set -e | ||
pip install pipenv | ||
pipenv install --dev --deploy | ||
- name: Check formatting with format.sh | ||
run: pipenv run pre-commit run --all-files |