Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -102,7 +102,9 @@ jobs:

- uses: actions/download-artifact@v4
with:
path: ./
path: artifact/
pattern: artifact-*
merge-multiple: true

- name: test
uses: ./
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-locally.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down