Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@ on:
branches:
- main
pull_request:
schedule:
- cron: 0 6 1 * *

jobs:
unit:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # For demonstration, other OSes are commented out: macos-latest, windows-latest
python-version: ['3.11', '3.10']
python-version: ['3.12', '3.11', '3.10']
steps:
- uses: actions/checkout@v4
with: # no need for the history
Expand All @@ -24,16 +22,9 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: pip install poetry==2.1.3
shell: bash
# Cache Poetry dependencies to speed up builds
- name: Cache Poetry virtualenv
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
run: |
python -m pip install --upgrade pip
python -m pip install poetry==2.3.2
- name: Install dependencies with Poetry
run: |
poetry install --with dev
Expand Down
Loading
Loading