-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (28 loc) · 937 Bytes
/
test_workflow_wrapper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: run tests
on:
pull_request:
# permissions: # Global permissions configuration starts here
# contents: read # 'read' access to repository contents
# pull-requests: read # 'write' access to pull requests
jobs:
codeql:
permissions:
actions: read
contents: read
security-events: write
uses: ./.github/workflows/test_codeql.yml
test:
uses: ./.github/workflows/test_run_pytest.yml
dependencies:
uses: ./.github/workflows/test_dependency_review.yml
close_pr:
needs: [test]
uses: ./.github/workflows/test_close_pr.yaml
with:
pull_requests: ${{ toJSON(github.event.pull_request) }} # Pass the pull request data in JSON format
# bump_version:
# needs: [codeql, test]
# uses: ./.github/workflows/bump_version.yml
# deploy_to_pypi:
# needs: [bump_version]
# uses: ./.github/workflows/deploy_to_pypi.yml