diff options
| author | Sergio Cazzolato <sergio.cazzolato@canonical.com> | 2021-04-20 17:36:55 -0300 |
|---|---|---|
| committer | Sergio Cazzolato <sergio.cazzolato@canonical.com> | 2021-04-20 17:36:55 -0300 |
| commit | 1d1fbdedcbddd56ff71ec697c0aaadd49b50fc05 (patch) | |
| tree | 6fbbda57955957b455ea4152f3d5b210c1c7544b /tests/unit | |
| parent | 5f06140f2afe4188cf0071035dbc34d0044db367 (diff) | |
Skip static check for tests when running unit/go taks
This is to avoid installing python deps on all the machines where this is executed.
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/go/task.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/go/task.yaml b/tests/unit/go/task.yaml index 4bf71f63c6..8e769a369e 100644 --- a/tests/unit/go/task.yaml +++ b/tests/unit/go/task.yaml @@ -43,6 +43,7 @@ execute: | PATH=$PATH \ GOPATH=/tmp/static-unit-tests \ ${skip:-} \ + SKIP_TESTS_CHECK=1 \ ./run-checks --static" tests.session -u test exec sh -c "cd /tmp/static-unit-tests/src/github.com/snapcore/snapd && \ @@ -58,6 +59,7 @@ execute: | PATH=$PATH \ GOPATH=/tmp/static-unit-tests \ ${skip:-} \ + SKIP_TESTS_CHECK=1 \ ./run-checks --static" test su -l -c "cd /tmp/static-unit-tests/src/github.com/snapcore/snapd && \ |
