We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd253ee commit 4336904Copy full SHA for 4336904
.github/workflows/build-and-target-test.yaml
@@ -0,0 +1,31 @@
1
+name: Build and Test
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ pytest_marker:
7
+ type: string
8
+ required: false
9
+ default: 'not slow'
10
11
+ schedule:
12
+ - cron: "0 0 * * *"
13
+ push:
14
+ branches:
15
+ - main
16
+ paths-ignore:
17
+ - "docs/**"
18
+jobs:
19
+ build:
20
+ uses: ./.github/workflows/build.yml
21
+ secrets: inherit
22
+ test:
23
+ permissions:
24
+ contents: write
25
+ uses: ./.github/workflows/target-test.yml
26
+ needs: build
27
28
+ with:
29
+ artifact_fw_version: ${{ needs.build.outputs.version }}
30
+ artifact_run_id: ${{ needs.build.outputs.run_id }}
31
+ pytest_marker: ${{ inputs.pytest_marker || (github.event_name == 'schedule' && 'no_markers_flag') || (github.event_name == 'push' && 'not slow') }}
0 commit comments