Merge pull request #80 from chriskuehl/pre-commit-ci-update-config #155
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
on: | |
pull_request: | |
push: | |
branches: [main, test-me-*] | |
jobs: | |
main: | |
strategy: | |
matrix: | |
python: ['3.9', '3.10', '3.11', '3.12'] | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
: \ | |
&& sudo apt-get update \ | |
&& sudo DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends zsh | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install tox | |
- run: tox -e py |