fix: allow certain sample workflows to fail #3
Workflow file for this run
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
name: Build and Test EICAR Rock | ||
on: | ||
push: | ||
paths: | ||
- .github/workflows/build_and_test_eicar_rock.yaml | ||
- oci_factory_workflows/** | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
uses: canonical/oci-factory/.github/workflows/Build-Rock.yaml@main | ||
with: | ||
oci-archive-name: "eicar-rock" | ||
rock-repo: canonical/rocks-toolbox | ||
rock-repo-commit: rework_oci-factory_workflow_docs | ||
rockfile-directory: eicar_rock/1.0/ | ||
test: | ||
uses: canonical/oci-factory/.github/workflows/Test-Rock.yaml@main | ||
needs: [build] | ||
continue-on-error: true # we expect malware scan to fail | ||
Check failure on line 22 in .github/workflows/build_and_test_eicar_rock.yaml GitHub Actions / Build and Test EICAR RockInvalid workflow file
|
||
with: | ||
oci-archive-name: "eicar-rock" | ||
test-vulnerabilities: true | ||
test-oci-compliance: true | ||
test-efficiency: true | ||
test_malware: true |