Skip to content

refactor name to 'petutils', add workflow #1

refactor name to 'petutils', add workflow

refactor name to 'petutils', add workflow #1

Workflow file for this run

name: run_tests
on:
push:
workflow_call:
workflow_dispatch:

Check failure on line 5 in .github/workflows/run_pytest.yaml

View workflow run for this annotation

GitHub Actions / run_tests

Invalid workflow file

The workflow is not valid. .github/workflows/run_pytest.yaml (Line: 5, Col: 5): Unexpected value 'workflow_dispatch'
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false
jobs:
test_with_pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Poetry
run: pipx install poetry
- 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 tests/