File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,17 @@ jobs:
123123 run : task build
124124 if : matrix.os == 'macos-10.15'
125125
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+
126137 # this will create `public/` dir with compressed full bin (<version>/<os>-<arch>.gz) and a json file
127138 - name : Create autoupdate files
128139 run : go-selfupdate arduino-create-agent${{ matrix.ext }} ${TAG_VERSION}
Original file line number Diff line number Diff line change 9191 run : task build
9292 if : matrix.os == 'macos-10.15'
9393
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+
94105 # config.ini is required by the executable when it's run
95106 - name : Upload artifacts
96107 uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ tasks:
3333 cmds :
3434 - go test -short -run '{{ default ".*" .TEST_REGEX }}' {{ default "-v" .GOFLAGS }} -coverprofile=coverage_unit.txt {{ default .DEFAULT_TARGETS .TARGETS }} {{.TEST_LDFLAGS}}
3535
36+ test-e2e :
37+ desc : Run end 2 end tests
38+ cmds :
39+ - poetry install --no-root
40+ - poetry run pytest test
41+
3642 check :
3743 desc : Check fmt and lint
3844 cmds :
You can’t perform that action at this time.
0 commit comments