File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ workflow_dispatch :
3+ pull_request :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ verify-extra-packages :
10+ runs-on : ubuntu-24.04
11+ permissions :
12+ contents : read
13+
14+ name : Verify scancodeio-extra-packages exposes extra pipelines
15+ steps :
16+ - name : Build image with minecode-pipelines installed
17+ shell : bash
18+ run : |
19+ # ghcr.io/aboutcode-org/scancode.io v38.0.0 (core)
20+ docker build -t scancode-extra-packages-test - <<EOF
21+ FROM ghcr.io/aboutcode-org/scancode.io@sha256:e20d2b6e42eb4e192265ccd4b583e37a774240288bae6aa0dc6384d088e1a581
22+ RUN pip install --no-cache-dir minecode-pipelines
23+ EOF
24+
25+ - name : Verify mine_pypi pipeline is listed
26+ shell : bash
27+ run : |
28+ docker run --rm scancode-extra-packages-test scanpipe list-pipeline | tee pipelines.txt
29+ if ! grep -q "mine_pypi" pipelines.txt; then
30+ echo "::error::mine_pypi pipeline not found after installing minecode-pipelines"
31+ exit 1
32+ fi
You can’t perform that action at this time.
0 commit comments