workflows: install skopeo only in one case
no need to do test this for every case
This commit is contained in:
parent
8fe07bfb48
commit
59c99c0899
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -39,6 +39,7 @@ jobs:
|
||||||
repo: https://github.com/dawidd6/deber.git
|
repo: https://github.com/dawidd6/deber.git
|
||||||
ref: v1.0.0
|
ref: v1.0.0
|
||||||
lintian_opts: "-v"
|
lintian_opts: "-v"
|
||||||
|
install_skopeo: true
|
||||||
- package: netcat-openbsd
|
- package: netcat-openbsd
|
||||||
arch: arm64
|
arch: arm64
|
||||||
repo: https://git.launchpad.net/ubuntu/+source/netcat-openbsd
|
repo: https://git.launchpad.net/ubuntu/+source/netcat-openbsd
|
||||||
|
@ -52,10 +53,14 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
run: git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
run: git clone --depth=1 ${{matrix.repo}} -b ${{matrix.ref}} ${{matrix.package}}
|
||||||
|
|
||||||
- name: Remove skopeo (for testing installation)
|
- name: Remove skopeo (for testing installation)
|
||||||
run: sudo rm -f $(which skopeo)
|
if: ${{matrix.install_skopeo}}
|
||||||
|
run: sudo rm -v $(which skopeo)
|
||||||
|
|
||||||
- name: Test run
|
- name: Test run
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
|
@ -64,6 +69,7 @@ jobs:
|
||||||
artifacts_directory: artifacts
|
artifacts_directory: artifacts
|
||||||
lintian_opts: ${{matrix.lintian_opts}}
|
lintian_opts: ${{matrix.lintian_opts}}
|
||||||
lintian_run: ${{matrix.lintian_run || false}}
|
lintian_run: ${{matrix.lintian_run || false}}
|
||||||
|
|
||||||
- name: Check files
|
- name: Check files
|
||||||
run: |
|
run: |
|
||||||
ls -lh artifacts/${{matrix.package}}*.*
|
ls -lh artifacts/${{matrix.package}}*.*
|
||||||
|
|
Loading…
Reference in a new issue