From 89a76bfb8f79443437b4a4b3f76fd6e293a759f7 Mon Sep 17 00:00:00 2001 From: Thomas Bouldin Date: Mon, 12 Feb 2024 09:57:11 -0800 Subject: [PATCH] Update CI to include Python 3.12. Will fail until new CLI is released --- .github/workflows/ci.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 029bfcd..c1d44da 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.10"] + python: ["3.10", "3.12"] steps: - uses: actions/checkout@v3 @@ -22,14 +22,14 @@ jobs: python-version: ${{ matrix.python }} - name: Install dependencies run: | - python3.10 -m venv venv + python${{ matrix.python }} -m venv venv source venv/bin/activate pip3 install --upgrade pip - python3.10 -m pip install -e ".[dev]" + python${{ matrix.python }} -m pip install -e ".[dev]" - name: Test with pytest & coverage run: | source venv/bin/activate - python3.10 -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv + python${{ matrix.python }} -m pytest --cov=src --cov-report term --cov-report html --cov-report xml -vv # TODO requires activation for this repository on codecov website first. # - name: Upload coverage to Codecov # uses: codecov/codecov-action@v3