File tree 3 files changed +28
-0
lines changed
3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,17 @@ jobs:
123
123
run : task build
124
124
if : matrix.os == 'macos-10.15'
125
125
126
+ - name : Install Python
127
+ uses : actions/setup-python@v2
128
+ with :
129
+ python-version : ' 3.9'
130
+ architecture : ' x64'
131
+
132
+ - name : Run e2e tests
133
+ run : |
134
+ pip install poetry
135
+ task test-e2e
136
+
126
137
# this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
127
138
- name : Create autoupdate files
128
139
run : go-selfupdate arduino-create-agent${{ matrix.ext }} ${TAG_VERSION}
Original file line number Diff line number Diff line change 91
91
run : task build
92
92
if : matrix.os == 'macos-10.15'
93
93
94
+ - name : Install Python
95
+ uses : actions/setup-python@v2
96
+ with :
97
+ python-version : ' 3.9'
98
+ architecture : ' x64'
99
+
100
+ - name : Run e2e tests
101
+ run : |
102
+ pip install poetry
103
+ task test-e2e
104
+
94
105
# config.ini is required by the executable when it's run
95
106
- name : Upload artifacts
96
107
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ tasks:
33
33
cmds :
34
34
- go test -short -run '{{ default ".*" .TEST_REGEX }}' {{ default "-v" .GOFLAGS }} -coverprofile=coverage_unit.txt {{ default .DEFAULT_TARGETS .TARGETS }} {{.TEST_LDFLAGS}}
35
35
36
+ test-e2e :
37
+ desc : Run end 2 end tests
38
+ cmds :
39
+ - poetry install --no-root
40
+ - poetry run pytest test
41
+
36
42
check :
37
43
desc : Check fmt and lint
38
44
cmds :
You can’t perform that action at this time.
0 commit comments