mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 20:09:24 +00:00
Update CI workflows to include 'test' and 'develop' branches for pull requests
This commit is contained in:
15
.github/workflows/ci-checks.yml
vendored
15
.github/workflows/ci-checks.yml
vendored
@@ -7,13 +7,14 @@ concurrency:
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
pull_request:
|
||||
types: [review_requested, ready_for_review, synchronize, opened, reopened]
|
||||
branches:
|
||||
- main
|
||||
- test
|
||||
- develop
|
||||
|
||||
workflow_dispatch:
|
||||
workflow_run:
|
||||
workflows: ["run-benchmarks"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -33,7 +34,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@v5
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv pip install requests
|
||||
uv pip install requests
|
||||
- name: Run CI checks
|
||||
run: |
|
||||
python .github/scripts/ci_checks.py
|
5
.github/workflows/run-benchmarks.yml
vendored
5
.github/workflows/run-benchmarks.yml
vendored
@@ -2,9 +2,12 @@ name: run-benchmarks
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
push:
|
||||
branches:
|
||||
- test
|
||||
|
||||
jobs:
|
||||
pick-runner:
|
||||
|
2
.github/workflows/run-unit-tests.yml
vendored
2
.github/workflows/run-unit-tests.yml
vendored
@@ -5,6 +5,8 @@ on:
|
||||
types: [review_requested, ready_for_review, synchronize, opened, reopened]
|
||||
branches:
|
||||
- main
|
||||
- test
|
||||
- develop
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
Reference in New Issue
Block a user