-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] fix syft.build.helm parse errors
- Loading branch information
1 parent
1ed793f
commit 0eea84e
Showing
3 changed files
with
90 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Test Tox | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
toxenv: | ||
type: choice | ||
description: "Tox environment name to run" | ||
required: true | ||
options: | ||
- syft.test.unit | ||
- syft.test.notebook | ||
- syft.test.security | ||
- syft.build.helm | ||
- syft.test.helm | ||
- syftcli.test.unit | ||
- syftcli.build | ||
- frontend.test.unit | ||
|
||
jobs: | ||
run-tox: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Setup dependencies | ||
shell: bash | ||
run: | | ||
K3D_VERSION=v5.6.0 | ||
DEVSPACE_VERSION=v6.3.3 | ||
# install tox | ||
pip install --upgrade tox | ||
# install k3d | ||
wget https://github.com/k3d-io/k3d/releases/download/${K3D_VERSION}/k3d-linux-amd64 | ||
mv k3d-linux-amd64 k3d | ||
chmod +x k3d | ||
export PATH=`pwd`:$PATH | ||
k3d version | ||
# Install devspace | ||
curl -sSL https://github.com/loft-sh/devspace/releases/download/${DEVSPACE_VERSION}/devspace-linux-amd64 -o ./devspace | ||
chmod +x devspace | ||
devspace version | ||
- name: Execute tox environment | ||
shell: bash | ||
run: | | ||
tox -e ${{ github.event.inputs.toxenv }} |
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