diff options
| author | Ian Johnson <ian.johnson@canonical.com> | 2021-03-02 15:19:46 -0600 |
|---|---|---|
| committer | Ian Johnson <ian.johnson@canonical.com> | 2021-03-02 20:10:06 -0600 |
| commit | 8579d563e868bd46bbfe6e4be69f2c648756f27a (patch) | |
| tree | 0db9cf6513c98a8d3ae62a37a982f0da2d004721 /tests/unit | |
| parent | c1d7ff9cc0f4a3f77807e1d170d1ea8d3bb3cb05 (diff) | |
tests/unit/go: turn off modules for spread test which runs the unit tests too
Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/go/task.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/go/task.yaml b/tests/unit/go/task.yaml index 00b4353cfc..4ab824e7a9 100644 --- a/tests/unit/go/task.yaml +++ b/tests/unit/go/task.yaml @@ -26,11 +26,14 @@ execute: | fi su -l -c "cd /tmp/static-unit-tests/src/github.com/snapcore/snapd && \ - PATH=$PATH GOPATH=/tmp/static-unit-tests \ + GO111MODULE=off \ + PATH=$PATH \ + GOPATH=/tmp/static-unit-tests \ ${skip:-} \ ./run-checks --static" test su -l -c "cd /tmp/static-unit-tests/src/github.com/snapcore/snapd && \ + GO111MODULE=off\ PATH=$PATH \ GOPATH=/tmp/static-unit-tests \ SKIP_COVERAGE=1 \ |
