-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (37 loc) · 1.09 KB
/
run-tests.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
39
name: Run Tests Automation
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/**'
- 'test/**'
- 'Project.toml'
- '.github/workflows/run-tests.yml'
- '.github/workflows/run-tests-reusable.yml'
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
paths:
- 'src/**'
- 'test/**'
- 'Project.toml'
- '.github/workflows/run-tests.yml'
- '.github/workflows/run-tests-reusable.yml'
jobs:
# Linux disabled due to incompatability.
#
# ubuntu:
# uses: ./.github/workflows/run-tests-ubuntu.yml
# if: ${{ ((github.event_name == 'pull_request') && !github.event.pull_request.draft) || (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') }}
# secrets: inherit
windows:
uses: ./.github/workflows/run-tests-windows.yml
if: ${{ ((github.event_name == 'pull_request') && !github.event.pull_request.draft) || (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') }}
secrets: inherit