Merge pull request #1642 from mig5/run_tests_on_pull_request

Try and make tests run on pull requests. Update branch names on CodeQL analysis
This commit is contained in:
Saptak Sengupta 2022-12-15 11:38:08 +05:30 committed by GitHub
commit f43f16f1de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 5 deletions

View File

@ -13,12 +13,13 @@ name: "CodeQL"
on:
push:
branches: [ develop, stable ]
branches:
- main
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
branches:
- main
schedule:
- cron: '22 11 * * 5'
- cron: '22 11 * * 5'
jobs:
analyze:

View File

@ -1,6 +1,12 @@
name: Run Tests
run-name: Run tests
on: [push]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-cli: