-
Notifications
You must be signed in to change notification settings - Fork 87
72 lines (68 loc) · 1.82 KB
/
github_actions_aws_windows_python64.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: nimibot_win_64
on:
pull_request:
branches:
- master
- releases/*
paths-ignore:
- CHANGELOG.md
- CONTRIBUTING.md
- .gitattributes
- LICENSE
- VERSION
types:
- opened
- synchronize
- reopened
# For this action, also trigger on a merge to master, because
# the coverage badge tracks coverage of master, not PRs.
# Doing this for windows_python32 and rhel_python64 is unlikely to
# add any coverage, so don't bother triggering those on pushes to master.
push:
branches:
- master
paths-ignore:
- CHANGELOG.md
- CONTRIBUTING.md
- .gitattributes
- LICENSE
- VERSION
# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:
jobs:
do-the-job1:
name: system_test
if: github.repository == 'ni/nimi-python'
runs-on:
- self-hosted
- windows
- x64
- rdss-nimibot-win-10-py64
timeout-minutes: 80
strategy:
matrix:
module_name:
- nidigital
- nitclk
- nifgen
- nidcpower
- nidmm
- niscope
- nimodinst
- nise
- niswitch
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: execute system tests
uses: ./.github/actions/windows
with:
module_name: ${{ matrix.module_name }}
- name: upload coverage
uses: codecov/codecov-action@v3
with:
# See ../PUBLIC_CODECOV_TOKEN_README.md
token: 4c58f03d-b74c-489a-889a-ab0a77b7809f
flags: ${{ matrix.module_name }}systemtests
name: ${{ matrix.module_name }}
files: ./generated/${{ matrix.module_name }}/coverage.xml