-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vipul Gupta (@vipulgupta2048) <vipulgupta2048@gmail.com>
- Loading branch information
1 parent
85c4a1e
commit aee74c6
Showing
2 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Testing | ||
|
||
on: | ||
# Runs on each push | ||
push: | ||
branches: | ||
- "main" | ||
- "master" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checks out a copy of your repository on the ubuntu-latest machine | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: reporter | ||
run: | | ||
# Test Report | ||
echo "| Total Tests | Ran | Passed | Failed | Skipped |" >> $GITHUB_STEP_SUMMARY | ||
echo "|-------|-----|---------|--------|--------|" >> $GITHUB_STEP_SUMMARY | ||
jq -r '.[0].stats | "\(.tests) 📋 | \(.ran) 🏃 | \(.passed) ✅ | \(.failed) ❌ | \(.skipped) ⏭️"' a.json >> $GITHUB_STEP_SUMMARY | ||
echo "## Failed Tests" >> $GITHUB_STEP_SUMMARY | ||
jq -r '.[0].tests | to_entries[] | select(.value == "failed") | .key' a.json >> $GITHUB_STEP_SUMMARY | ||
echo "## Skipped Tests:" >> $GITHUB_STEP_SUMMARY | ||
jq -r '.[0].tests | to_entries[] | select(.value == "skipped") | .key' a.json >> $GITHUB_STEP_SUMMARY | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
[ | ||
{ | ||
"suite": "Unmanaged BalenaOS release suite", | ||
"stats": { | ||
"tests": 49, | ||
"ran": 41, | ||
"skipped": 8, | ||
"passed": 41, | ||
"failed": 0 | ||
}, | ||
"tests": { | ||
"check secure boot": "passed", | ||
"BeagleBone Black u-boot overlay test: deactivate HDMI": "skipped", | ||
"243390-rpi3 - CUS/EUS chipsets test": "skipped", | ||
"Kernel and device-tree overlap test": "passed", | ||
"fingerprint file test": "passed", | ||
"ext4 filesystems are checked on boot": "passed", | ||
"OS-release file check": "passed", | ||
"Installer used migrator module": "passed", | ||
"issue file check": "passed", | ||
"issue.net file check": "passed", | ||
"Chronyd service": "passed", | ||
"Sync test": "passed", | ||
"Source test": "passed", | ||
"Offline sources test": "passed", | ||
"System time skew test": "passed", | ||
"kernel-overlap test": "passed", | ||
"Bluetooth scanning test": "skipped", | ||
"Container healthcheck test": "passed", | ||
"Container exposed variables test": "passed", | ||
"Identification test": "skipped", | ||
"Cellular tests": "passed", | ||
"hostname configuration test": "passed", | ||
"ntpServer test": "passed", | ||
"dnsServers test": "passed", | ||
"os.network.connectivity test": "passed", | ||
"os.network.wifi.randomMacAddressScan test": "passed", | ||
"udevRules test": "passed", | ||
"persistentLogging configuration test": "passed", | ||
"Reboot test": "skipped", | ||
"Wired test": "passed", | ||
"Wireless test": "skipped", | ||
"Socks5 test": "passed", | ||
"Http-connect test": "passed", | ||
"Engine socket is exposed in development images": "passed", | ||
"Engine socket is not exposed in production images": "passed", | ||
"Engine watchdog recovery": "passed", | ||
"Engine healthcheck performance": "passed", | ||
"Under-voltage test": "passed", | ||
"Ramdisks, zram and loop devices are not scanned for rootfs": "passed", | ||
"by-state links are created": "passed", | ||
"DToverlay & DTparam tests": "skipped", | ||
"state partition reset": "passed", | ||
"data partition reset": "passed", | ||
"RevPi Core 3 DIO module test": "skipped", | ||
"zram is enabled and configured as swap": "passed", | ||
"Internet sharing iptables rules test": "passed", | ||
"Respect application locks": "passed", | ||
"Reboot on application unlock": "passed", | ||
"Override update locks": "passed" | ||
}, | ||
"dateTime": "Mon May 13 2024 09:34:57 GMT+0000 (Coordinated Universal Time)" | ||
} | ||
] |