Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Don't try to handle sslib main test within the matrix * Put it in a separate workflow * Include the new workflow in CI but not in CD * Bonus: Make cache-dependency-path more complete Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
- Loading branch information
Showing
3 changed files
with
41 additions
and
20 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
workflow_call: | ||
# Permissions inherited from caller workflow | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
sslib-main: | ||
name: Test securesystemslib main branch (not a merge blocker) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout TUF | ||
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 | ||
with: | ||
python-version: '3.x' | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
requirements/*.txt | ||
pyproject.toml | ||
- name: Install dependencies | ||
run: | | ||
python3 -m pip install --constraint requirements/build.txt tox | ||
- name: Run tox | ||
run: tox -e with-sslib-main |
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