Update workflows for better test coverage and integration (#2344)
* ✨ (typescript_test.yml): add workflow_dispatch event to trigger workflow manually with branch input parameter 🔧 (typescript_test.yml): update workflow to checkout code from the specified branch when triggered manually * 📝 (lint-py.yml): update linting workflow to trigger on specific pull request events and checks requested action 📝 (lint-py.yml): add a specific job to run Mypy for static type checking in the linting workflow * 🔧 (python_test.yml): update pull_request event types and branches to trigger on more actions for better test coverage and integration
This commit is contained in:
parent
791bd70c04
commit
8ea95420c7
3 changed files with 19 additions and 14 deletions
13
.github/workflows/python_test.yml
vendored
13
.github/workflows/python_test.yml
vendored
|
|
@ -1,26 +1,21 @@
|
|||
name: Python tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "poetry.lock"
|
||||
- "pyproject.toml"
|
||||
- "src/backend/**"
|
||||
pull_request:
|
||||
branches: [dev]
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [dev, main]
|
||||
paths:
|
||||
- "poetry.lock"
|
||||
- "pyproject.toml"
|
||||
- "src/backend/**"
|
||||
merge_group:
|
||||
branches: [dev]
|
||||
|
||||
types: [checks_requested]
|
||||
env:
|
||||
POETRY_VERSION: "1.8.2"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Run Unit Tests
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue