test: probe shopware-cli command syntax on the real runner
swcli-probe / probe (push) Failing after 7s
swcli-probe / probe (push) Failing after 7s
This commit is contained in:
1 parent
20492e8c80
commit
98bd874a1d
1 file changed
+37
@@ -0,0 +1,37 @@
|
|||||||
|
name: swcli-probe
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ci/shopware-cli-probe]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
probe:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install shopware-cli
|
||||||
|
run: |
|
||||||
|
curl -sL -o /usr/local/bin/shopware-cli \
|
||||||
|
https://github.com/shopware/shopware-cli/releases/latest/download/shopware-cli-linux-amd64
|
||||||
|
chmod +x /usr/local/bin/shopware-cli
|
||||||
|
shopware-cli --version
|
||||||
|
|
||||||
|
- name: Probe extension command help
|
||||||
|
run: |
|
||||||
|
echo "=== extension --help ==="
|
||||||
|
shopware-cli extension --help || true
|
||||||
|
echo "=== extension package --help ==="
|
||||||
|
shopware-cli extension package --help || true
|
||||||
|
echo "=== extension zip --help (check if still a deprecated alias) ==="
|
||||||
|
shopware-cli extension zip --help || true
|
||||||
|
echo "=== extension validate --help ==="
|
||||||
|
shopware-cli extension validate --help || true
|
||||||
|
|
||||||
|
- name: Try validate against this repo
|
||||||
|
run: shopware-cli extension validate . || true
|
||||||
|
|
||||||
|
- name: Try packaging this repo
|
||||||
|
run: |
|
||||||
|
shopware-cli extension package . --output .build || true
|
||||||
|
echo "=== .build contents ==="
|
||||||
|
ls -la .build || true
|
||||||
Reference in new issue
Block a user