canonical / edgex-checkbox-provider

Checkbox tests for EdgeX snaps
Apache License 2.0
0 stars 3 forks source link

Set environment in test script #54

Closed farshidtz closed 1 year ago

farshidtz commented 1 year ago

The environment variables passed to the latest app defined in snapcraft.yaml don't reach the intended run-go-test.sh script.

This PR moves the environment variable definitions to the run-go-test.sh script itself. It also sets the Go path, since it is missing. The libcurl4-openssl-dev package is removed as it should not be needed, assuming the root cause is the path to git executable rather than missing the package.