See if tests run with CI
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
name: Execute tests
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
paths:
|
||||
- "*/*.py"
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
uses: ./.github/workflows/tests.yml
|
||||
@@ -0,0 +1,14 @@
|
||||
name: Run tests
|
||||
on:
|
||||
- workflow_call
|
||||
|
||||
jobs:
|
||||
run-tests:
|
||||
name: Run parser tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- run: pip install -r requirements.txt
|
||||
- run: python -m prompt_control.test
|
||||
Reference in New Issue
Block a user