Skip to content

Merge pull request #3 from eimis-ans/build/use-poetry #3

Merge pull request #3 from eimis-ans/build/use-poetry

Merge pull request #3 from eimis-ans/build/use-poetry #3

Workflow file for this run

name: Test
on:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
test-python:
timeout-minutes: 30
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python Poetry
uses: abatilo/actions-poetry@v2.3.0
with:
poetry-version: 1.5.1
- name: Install project dependencies
run: |
poetry install
- name: Run unit tests
run: |
poetry run python -m unittest discover tests