Skip to content

fix: allow certain sample workflows to fail #3

fix: allow certain sample workflows to fail

fix: allow certain sample workflows to fail #3

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

View workflow run for this annotation

GitHub Actions / Build and Test EICAR Rock

Invalid workflow file

The workflow is not valid. .github/workflows/build_and_test_eicar_rock.yaml (Line: 22, Col: 5): Unexpected value 'continue-on-error'
with:
oci-archive-name: "eicar-rock"
test-vulnerabilities: true
test-oci-compliance: true
test-efficiency: true
test_malware: true