-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update go version to 1.18 (#314)
* update go version Signed-off-by: Asra Ali <[email protected]> fix Signed-off-by: Asra Ali <[email protected]> * add update to venv Signed-off-by: Asra Ali <[email protected]> * update Signed-off-by: Asra Ali <[email protected]>
- Loading branch information
Showing
4 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# Testing | ||
|
||
TODO([#301](https://github.com/theupdateframework/go-tuf/issues/301)) | ||
The [Python interoperability tests](client/python_interop/) require Python 3 | ||
(available as `python` on the `$PATH`) and the [`python-tuf` | ||
package](https://github.com/theupdateframework/python-tuf) installed. To use the correct versions of the packages, it is recommended to use a [virtual environment](https://docs.python.org/3/library/venv.html#module-venv) and install the dependencies via: | ||
|
||
``` | ||
python -m pip install --upgrade -r requirements-test.txt | ||
``` | ||
|
||
You may run the full set of tests using | ||
``` | ||
go test ./... | ||
``` | ||
|
||
|
||
To update the data for these tests requires Docker and make (see | ||
test data [README.md](client/python_interop/testdata/README.md) for details). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
module github.com/theupdateframework/go-tuf | ||
|
||
go 1.16 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/dustin/go-humanize v1.0.0 | ||
github.com/flynn/go-docopt v0.0.0-20140912013429-f6dd2ebbb31e | ||
github.com/onsi/gomega v1.18.1 // indirect | ||
github.com/secure-systems-lab/go-securesystemslib v0.4.0 | ||
github.com/stretchr/testify v1.7.2 | ||
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 | ||
golang.org/x/crypto v0.0.0-20211117183948-ae814b36b871 | ||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 | ||
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/kr/pretty v0.2.1 // indirect | ||
github.com/kr/text v0.1.0 // indirect | ||
github.com/onsi/ginkgo v1.16.4 // indirect | ||
github.com/onsi/gomega v1.18.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect | ||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters