Support Python 3.12 #42
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: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
python: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
meltano: | |
- ">=2,<3" | |
- ">=3,<4" | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
cache: "pip" | |
cache-dependency-path: "poetry.lock" | |
- name: Install Poetry | |
run: pipx install poetry | |
- name: Install Dependencies | |
run: poetry install | |
- name: Install Meltano | |
run: pipx install 'meltano${{ matrix.meltano }}' | |
- name: Install Meltano plugins | |
run: | | |
cd tests/meltano_test_project | |
meltano install | |
- name: Run test suite | |
run: poetry run pytest |