Adopt securesystemslib branch rename master-> main

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
This commit is contained in:
Lukas Puehringer 2023-03-02 09:35:14 +01:00
parent dbce03c60d
commit 951ce045cd
2 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
# Run regular TUF tests on each OS/Python combination, plus special tests
# (sslib master) and linters on Linux/Python3.x only.
# (sslib main) and linters on Linux/Python3.x only.
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
@ -18,7 +18,7 @@ jobs:
include:
- python-version: 3.x
os: ubuntu-latest
toxenv: with-sslib-master
toxenv: with-sslib-main
experimental: true
- python-version: 3.x
os: ubuntu-latest

View file

@ -30,11 +30,11 @@ install_command = python3 -m pip install {opts} {packages}
# Workaround https://github.com/tox-dev/tox/issues/2801 (python3 not allowed in Windows)
allowlist_externals = python3
# Develop test env to run tests against securesystemslib's master branch
# Must to be invoked explicitly with, e.g. `tox -e with-sslib-master`
[testenv:with-sslib-master]
# Develop test env to run tests against securesystemslib's main branch
# Must to be invoked explicitly with, e.g. `tox -e with-sslib-main`
[testenv:with-sslib-main]
commands_pre =
python3 -m pip install --force-reinstall git+https://github.com/secure-systems-lab/securesystemslib.git@master#egg=securesystemslib[crypto,pynacl]
python3 -m pip install --force-reinstall git+https://github.com/secure-systems-lab/securesystemslib.git@main#egg=securesystemslib[crypto,pynacl]
commands =
python3 -m coverage run aggregate_tests.py