diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3668b20..00c6e80 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -79,7 +79,7 @@ jobs: kernel: artifact/kernel-riscv64-hifive_unleashed.tar.xz image: artifact/image-riscv64-default.tar.xz renode-run: | - wget example.org + wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" sh gpio.sh sh i2c.sh python pyrav4l2/.github/save_examples.py pyrav4l2/README.md @@ -102,7 +102,9 @@ jobs: - uses: actions/download-artifact@v4 with: - path: ./ + path: artifact/ + pattern: artifact-* + merge-multiple: true - name: test uses: ./ @@ -112,7 +114,7 @@ jobs: kernel: artifact/kernel-arm32-zynq_7000.tar.xz image: artifact/image-arm32-default.tar.xz renode-run: | - wget example.org + wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" sh gpio.sh sh i2c.sh python pyrav4l2/.github/save_examples.py pyrav4l2/README.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9852b50..da9f59f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -131,7 +131,7 @@ jobs: with: shared-dirs: tests renode-run: | - wget example.org + wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" sh gpio.sh sh i2c.sh python pyrav4l2/.github/save_examples.py pyrav4l2/README.md @@ -214,7 +214,7 @@ jobs: arch: arm32 shared-dirs: tests renode-run: | - wget example.org + wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" sh gpio.sh sh i2c.sh python pyrav4l2/.github/save_examples.py pyrav4l2/README.md @@ -282,7 +282,7 @@ jobs: renode-run: | should-fail: true commands: - - "wget example.org" + - wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" custom-task-test: runs-on: ubuntu-latest diff --git a/.github/workflows/run-locally.yml b/.github/workflows/run-locally.yml index 0a0b2d8..9f8c04a 100644 --- a/.github/workflows/run-locally.yml +++ b/.github/workflows/run-locally.yml @@ -18,7 +18,7 @@ jobs: with: shared-dirs: tests renode-run: | - wget example.org + wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" sh gpio.sh sh i2c.sh python pyrav4l2/.github/save_examples.py pyrav4l2/README.md diff --git a/README.md b/README.md index 5c86b57..9d2ee16 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ You can also set additional test parameters with [Task files](#tasks). For examp renode-run: | - should-fail: true - commands: - - wget example.org + - wget --spider -S github.com 2>&1 | grep "301 Moved Permanently" ``` This test will complete successfully because the network is disabled in the emulated system and `wget` will return a non-zero exit code.