Skip to content

Enhancement: POC add unit tests for custom component #10

Enhancement: POC add unit tests for custom component

Enhancement: POC add unit tests for custom component #10

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
jobs:
run_pytest:
name: Run tests
strategy:
matrix:
python-version: [3.11]
runs-on: ubuntu-latest
steps:
- name: "⤵️ Check out code from GitHub"
uses: actions/checkout@v4
- name: "⚙️ Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: "⚙️ Set up Poetry"
uses: abatilo/[email protected]
- name: "⚙️ Install dependencies"
run: poetry install
- name: "🚀 Run all tests"
run: poetry run pytest tests -v