This commit is contained in:
psychedelicious
2023-12-23 23:14:19 +11:00
parent f4825ed79b
commit 68425e743e
6 changed files with 6 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
name: Run frontend code quality checks
name: Frontend checks
on:
workflow_dispatch:

View File

@@ -1,4 +1,4 @@
name: Run python code quality checks
name: Python checks
on:
workflow_dispatch:

View File

@@ -1,4 +1,4 @@
name: Run frontend code quality checks when frontend changes
name: 'On frontend changes: run check-frontend'
on:
push:

View File

@@ -1,4 +1,4 @@
name: Run python code quality checks when python changes
name: 'On python changes: run check-python'
on:
push:

View File

@@ -1,4 +1,4 @@
name: Run pytest when python changes
name: 'On python changes: run pytest'
on:
push:

View File

@@ -1,4 +1,4 @@
name: Run pytest
name: Pytest
on:
workflow_dispatch:
@@ -45,10 +45,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check python changes
uses: ./.github/actions/check-python-changes
id: check-python-changes
- name: set test prompt to main branch validation
if: steps.check-python-changes.outputs.python_any_changed == 'true'
run: echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> ${{ matrix.github-env }}