Skip to content

ci: update Poetry installation method in GitHub Actions workflow #110

ci: update Poetry installation method in GitHub Actions workflow

ci: update Poetry installation method in GitHub Actions workflow #110

Workflow file for this run

name: Test Backend
on:
push:
branches:
pull_request:
# https://github.com/actions/runner-images/issues/6185
env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
jobs:
test_backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Poetry
uses: abatilo/actions-poetry@v3
with:
poetry-version: 2.1.1
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: poetry
- name: Install Dependencies
run: poetry install
- name: Run Tests
run: poetry run pytest