diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 676df43..19c2ded 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,15 +16,11 @@ jobs: runs-on: ${{ matrix.image }} strategy: matrix: - os: [Ubuntu, macOS, Windows] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + os: [Windows] + python-version: ["3.12"] include: - - os: Ubuntu - image: ubuntu-latest - os: Windows image: windows-2022 - - os: macOS - image: macos-11 fail-fast: false defaults: run: @@ -44,7 +40,7 @@ jobs: - name: Bootstrap poetry run: | - curl -sL https://install.python-poetry.org | python - -y ${{ matrix.bootstrap-args }} + curl -sL https://install.python-poetry.org | python - -y --git https://github.com/radoering/poetry.git@debug-build-error - name: Update PATH if: ${{ matrix.os != 'Windows' }} @@ -57,22 +53,5 @@ jobs: - name: Configure poetry run: poetry config virtualenvs.in-project true - - name: Set up cache - uses: actions/cache@v3 - id: cache - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }} - - - name: Ensure cache is healthy - if: steps.cache.outputs.cache-hit == 'true' - run: timeout 10s poetry run pip --version || rm -rf .venv - - name: Install dependencies run: poetry install --with github-actions - - - name: Run mypy - run: poetry run mypy - - - name: Run pytest - run: poetry run pytest -v