Skip to content

Commit

Permalink
Use install poetry action
Browse files Browse the repository at this point in the history
  • Loading branch information
ProKil committed Jun 24, 2024
1 parent b5001ff commit 77f0a94
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11.2
- name: add poetry to path on MacOS
if: matrix.os == 'macos-13'
run: |
export PATH="/Users/runner/.local/bin:$PATH"
- name: Install Poetry
uses: abatilo/actions-poetry@v2
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3
poetry lock
poetry install --with test -E chat
- name: Test with pytest
Expand Down

0 comments on commit 77f0a94

Please sign in to comment.