Skip to content

Merge pull request #1 from alexismanuel/feat/register-and-inject #13

Merge pull request #1 from alexismanuel/feat/register-and-inject

Merge pull request #1 from alexismanuel/feat/register-and-inject #13

name: Python package
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "export PATH='$HOME/.local/bin:$PATH'" >> $GITHUB_ENV
- name: Install dependencies
run: |
poetry install
- name: Test with pytest
run: |
poetry run pytest