File tree Expand file tree Collapse file tree 6 files changed +67
-40
lines changed Expand file tree Collapse file tree 6 files changed +67
-40
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ permissions :
8
+ contents : read
9
+
10
+ jobs :
11
+ build :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ python-version : ['3.6', '3.7']
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - name : Set up Python ${{ matrix.python-version }}
20
+ uses : actions/setup-python@v3
21
+ with :
22
+ python-version : ${{ matrix.python-version }}
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ python -m pip install tox tox-gh-actions
27
+ pip install coveralls
28
+ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip
29
+ unzip protoc-3.6.1-linux-x86_64.zip
30
+ sudo cp bin/protoc /usr/bin/protoc && sudo chmod 777 /usr/bin/protoc
31
+ sudo cp -r include/. /usr/include && sudo chmod -R +r /usr/include/google
32
+ protoc --version
33
+ sudo apt-get install -y libusb-1.0-0-dev libprotobuf-dev swig
34
+ - name : Test with tox
35
+ run : tox
36
+ - name : Publish to coveralls.io
37
+ env :
38
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
39
+ run : coveralls --service=github
40
+ - name : Publish to PyPI
41
+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
42
+ uses : pypa/gh-action-pypi-publish@release/v1
43
+ with :
44
+ user : __token__
45
+ password : gWriMCwCITTFTXKl4k7/eVYpx07N/z2zUGxZ3lme/pl6mRfJvj8QbpvnJAQGNn5VEZfWuuKveCoAySfrLcojV8RJuaRLcAnIuJInZt/Cf8QXmHLm7LK9xAnKofi++RRqk0B81CwbKjq3/JhMmygvSjSR5vRDogo3KB2GHRnE3HQUSy3IlBeZDDDpr7LcNcNVSr/z9TXC1/UA05erhUvRWuMiDI9AKqvPZ80K+GlzWEPSxkeFotC/i7PyrZfJWEzVPrgt1iFOK9lNmh5lKyQ4do0nuVHAZFcxsMb+6uBek7WNgmUOUAhOTHa/AM//b8qIhVzSPFc8tQlqdyN6lH8l0SbbzX7BkKNqS1hL5XzLJ+/VZgBbSUDWSDq08Dmu4snRvxPZc6RzfmQKQ0H0esOKzBwS8dIAQDEVwj13WuCnV7G0yHD2yRXmyWbLcbhDW7rNwC7VsyenPA9SwJ9vrCRoCuB3+zKERAya47dgflFHtxITHVdDR/tJ7h83YiEuVp/GkdOOet2gHMO5HyqoipaXryg7fu7JAhZ727l9t8PGWWKwKE0GBL7/IgrAIhR3GuYK33fInB2SpSoAmoxipfU31TpO1Xb+WT+yQwXft+wFYK6DH65yhaedHqKnxu7ph2ZE36XB4qY84sbvE/GgWF6KJjXoA1RTxmohI97i2dmTQJI=
46
+ skip_existing : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3
3
# OpenHTF
4
4
The open-source hardware testing framework.
5
5
6
- [ ![ Build Status] ( https://travis-ci.org /google/openhtf. svg?branch=master )] ( https://travis-ci.org /google/openhtf )
6
+ [ ![ Build Status] ( https://github.com /google/openhtf/actions/workflows/build_and_deploy.yml/badge. svg?branch=master )] ( https://github.com /google/openhtf/actions?branch=master )
7
7
[ ![ Coverage Status] ( https://coveralls.io/repos/google/openhtf/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/google/openhtf?branch=master )
8
8
9
9
[ Issue Stats] ( http://issuestats.com/github/google/openhtf )
Original file line number Diff line number Diff line change @@ -85,6 +85,10 @@ message Measurement {
85
85
optional double numeric_minimum = 12 ;
86
86
optional double numeric_maximum = 13 ;
87
87
88
+ // Fields to determine numeric marginality which are used in RangeValidators.
89
+ optional double numeric_marginal_minimum = 25 ;
90
+ optional double numeric_marginal_maximum = 26 ;
91
+
88
92
// If this parameter is text then fill in these fields
89
93
optional string text_value = 14 ;
90
94
// This field may be a regular expression describing the expected value
@@ -100,9 +104,11 @@ message Measurement {
100
104
// Created for visualization by UIs that don't support certain fancy
101
105
// parameters. UIs that do support them should hide these parameters.
102
106
optional string associated_attachment = 21 ;
103
- // Next tag = 24
107
+ // Next tag = 27
104
108
105
109
extensions 5000 to 5199;
110
+
111
+ reserved 24 ;
106
112
}
107
113
108
114
// A parameter which is extra information from a test run. These values are not
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ enum Status {
75
75
REWORK = 12 ;
76
76
SCRAP = 13 ;
77
77
DEBUG = 14 ;
78
+ MARGINAL_PASS = 15 ;
78
79
}
79
80
80
81
@@ -127,6 +128,10 @@ message TestParameter {
127
128
optional double numeric_minimum = 12 ;
128
129
optional double numeric_maximum = 13 ;
129
130
131
+ // Fields to determine numeric marginality which are used in RangeValidators.
132
+ optional double numeric_marginal_minimum = 26 ;
133
+ optional double numeric_marginal_maximum = 27 ;
134
+
130
135
// If this parameter is text then fill in these fields
131
136
optional string text_value = 14 ;
132
137
// This field may be a regular expression describing the expected value
@@ -139,9 +144,11 @@ message TestParameter {
139
144
// Created for visualization by UIs that don't support certain fancy
140
145
// parameters. UIs that do support them should hide these parameters.
141
146
optional string associated_attachment = 21 ;
142
- // Next tag = 22
147
+ // Next tag = 28
143
148
144
149
extensions 5000 to 5199;
150
+
151
+ reserved 25 ;
145
152
}
146
153
147
154
Original file line number Diff line number Diff line change 1
1
[tox]
2
2
envlist = py36,py37
3
3
4
+ [gh-actions]
5
+ python =
6
+ 3.6: py36
7
+ 3.7: py37
8
+
4
9
[testenv]
5
10
deps = -r{toxinidir}/test_reqs.txt
6
11
commands = {envbindir}/python setup.py build_proto
You can’t perform that action at this time.
0 commit comments