Skip to content

Merge pull request #43 from robsdedude/add-multi-line-comprehension-v… #216

Merge pull request #43 from robsdedude/add-multi-line-comprehension-v…

Merge pull request #43 from robsdedude/add-multi-line-comprehension-v… #216

Workflow file for this run

name: main
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- run: pip install -Ur requirements.txt
- uses: pre-commit/[email protected]
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install tox and any other packages
run: pip install tox
- name: Run tox
run: tox -e py