diff --git a/.github/workflows/python-test-publish.yml b/.github/workflows/python-test-publish.yml index aa8d71c..80a5116 100644 --- a/.github/workflows/python-test-publish.yml +++ b/.github/workflows/python-test-publish.yml @@ -11,13 +11,13 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11'] - poetry-version: [1.2] + python-version: ['3.9', '3.10', '3.11', '3.12'] + poetry-version: ['1.8.2'] fail-fast: false runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 2baaf6d..2c2ea07 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -35,23 +35,8 @@ jobs: with: poetry-version: ${{ matrix.poetry-version }} - - name: Update PATH - if: ${{ runner.os != 'Windows' }} - run: echo "$HOME/.local/bin" >> $GITHUB_PATH - - - name: Update Path for Windows - if: ${{ runner.os == 'Windows' }} - run: echo "$APPDATA\Python\Scripts" >> $GITHUB_PATH - - - 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-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }} + - name: View poetry --help + run: poetry --help - name: Install dependencies run: poetry install