Skip to content

Commit

Permalink
Bump peotry version + matrix test (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored Aug 29, 2023
1 parent 7475775 commit 3ce77b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,27 +25,30 @@ jobs:
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: '1.5.0'
poetry-version: '1.6.1'
- name: Install pip dependencies
run: poetry install
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: ['3.11', '3.10']
steps:
- uses: actions/checkout@master
- uses: actions/cache@v3
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('poetry.lock') }}
restore-keys: |
${{ runner.os }}-poetry-
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '${{ matrix.python-version }}'
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: '1.5.0'
poetry-version: '1.6.1'
- name: Install pip dependencies
run: poetry install
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: '1.5.0'
poetry-version: '1.6.1'
- name: Install pip dependencies
run: poetry install
- name: Package
Expand Down

0 comments on commit 3ce77b5

Please sign in to comment.