Skip to content

feat: Add support for python 3.11 and 3.12 (#125) #510

feat: Add support for python 3.11 and 3.12 (#125)

feat: Add support for python 3.11 and 3.12 (#125) #510

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["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-version }}
- name: Setup virtualenv
run: |
python -V
python -m pip install virtualenv pipdeptree
virtualenv venv
source venv/bin/activate
pip install --upgrade pip
- name: Check pre-commit status
run: |
pip install .[tests,databricks]
pip freeze
pipdeptree
pre-commit run --all-files
- name: Test with tox
run: |
tox