mirror of
https://github.com/2dust/v2rayN.git
synced 2026-11-17 18:04:59 +03:00
ci: run the test job on pushes to master (#10054)
The Code Test workflow only has a pull_request trigger, so the suite never runs against master itself: a direct push is untested, and a merge can break tests even when the pull request's own check was green, because checks run on the PR head rather than on the merged result. Add a push trigger for master with the same paths filter. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
3f14c86a04
commit
426d5d5a21
@@ -1,6 +1,17 @@
|
|||||||
name: Code Test
|
name: Code Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
paths:
|
||||||
|
- 'v2rayN/ServiceLib/**'
|
||||||
|
- 'v2rayN/ServiceLib.UdpTest/**'
|
||||||
|
- 'v2rayN/ServiceLib.Tests/**'
|
||||||
|
- 'v2rayN/Directory.Build.*'
|
||||||
|
- 'v2rayN/Directory.Packages.props'
|
||||||
|
- 'global.json'
|
||||||
|
- '.github/workflows/test.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|||||||
Reference in New Issue
Block a user