Skip to content

testing

testing #76

name: Test All Packages on Arm64
on:
schedule:
# Run daily at 2 AM UTC
- cron: '0 2 * * *'
workflow_dispatch: # Allow manual triggering
push:
branches:
- main
- smoke_tests
paths:
- 'content/opensource_packages/*.md'
- 'content/commercial_packages/*.md'
- '.github/workflows/test-all-packages.yml'
- '.github/workflows/test-*.yml'
jobs:
# Test nginx
test-nginx:
uses: ./.github/workflows/test-nginx.yml
# Test envoy
test-envoy:
uses: ./.github/workflows/test-envoy.yml
# Test kafka
test-kafka:
uses: ./.github/workflows/test-kafka.yml
# Test memcached
test-memcached:
uses: ./.github/workflows/test-memcached.yml
# Test mongodb
test-mongodb:
uses: ./.github/workflows/test-mongodb.yml
# Test mysql
test-mysql:
uses: ./.github/workflows/test-mysql.yml
# Test spark
test-spark:
uses: ./.github/workflows/test-spark.yml
# Test postgres
test-postgres:
uses: ./.github/workflows/test-postgres.yml
# Test ceph
test-ceph:
uses: ./.github/workflows/test-ceph.yml
# Test cassandra
test-cassandra:
uses: ./.github/workflows/test-cassandra.yml
# Test rocksdb
test-rocksdb:
uses: ./.github/workflows/test-rocksdb.yml
# Test abyss
test-abyss:
uses: ./.github/workflows/test-abyss.yml
# Test accumulo
test-accumulo:
uses: ./.github/workflows/test-accumulo.yml
# Test acl
test-acl:
uses: ./.github/workflows/test-acl.yml
# Test activemq
test-activemq:
uses: ./.github/workflows/test-activemq.yml
# Test adoptopenjdk
test-adoptopenjdk:
uses: ./.github/workflows/test-adoptopenjdk.yml
# Test aerospike
test-aerospike:
uses: ./.github/workflows/test-aerospike.yml
# Test ace
test-ace:
uses: ./.github/workflows/test-ace.yml
# Test akka
test-akka:
uses: ./.github/workflows/test-akka.yml
# Test alfresco
test-alfresco:
uses: ./.github/workflows/test-alfresco.yml
# Test alluxio
test-alluxio:
uses: ./.github/workflows/test-alluxio.yml
# Test almalinux
test-almalinux:
uses: ./.github/workflows/test-almalinux.yml
# Test alpinelinux
test-alpinelinux:
uses: ./.github/workflows/test-alpinelinux.yml
# Test anda
test-anda:
uses: ./.github/workflows/test-anda.yml
# Test cuttlefish
test-cuttlefish:
uses: ./.github/workflows/test-cuttlefish.yml
# Test angularcli
test-angularcli:
uses: ./.github/workflows/test-angularcli.yml
# Add more packages here:
# test-redis:
# uses: ./.github/workflows/test-redis.yml
# Summary job that runs after all tests
summary:
needs: [test-nginx, test-envoy, test-kafka, test-memcached, test-mongodb, test-mysql, test-spark, test-postgres, test-ceph, test-cassandra, test-rocksdb, test-abyss, test-accumulo, test-acl, test-activemq, test-adoptopenjdk, test-aerospike, test-ace, test-akka, test-alfresco, test-alluxio, test-almalinux, test-alpinelinux, test-anda, test-cuttlefish, test-angularcli]
runs-on: ubuntu-24.04-arm
if: always()
steps:
- name: Download all test results
uses: actions/download-artifact@v4
with:
path: test-results
- name: Create summary
run: |
echo "# 📊 Package Test Summary" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "## Test Results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
TOTAL_PACKAGES=0
PASSED_PACKAGES=0
FAILED_PACKAGES=0
for result_dir in test-results/*/; do
if [ -d "$result_dir" ]; then
TOTAL_PACKAGES=$((TOTAL_PACKAGES + 1))
for json_file in "$result_dir"*.json; do
if [ -f "$json_file" ]; then
PKG_NAME=$(jq -r '.package.name' "$json_file")
STATUS=$(jq -r '.run.status' "$json_file")
TESTS_PASSED=$(jq -r '.tests.passed' "$json_file")
TESTS_FAILED=$(jq -r '.tests.failed' "$json_file")
VERSION=$(jq -r '.package.version' "$json_file")
if [ "$STATUS" = "success" ]; then
PASSED_PACKAGES=$((PASSED_PACKAGES + 1))
echo "✅ **$PKG_NAME** (v$VERSION): $TESTS_PASSED tests passed" >> $GITHUB_STEP_SUMMARY
else
FAILED_PACKAGES=$((FAILED_PACKAGES + 1))
echo "❌ **$PKG_NAME** (v$VERSION): $TESTS_FAILED tests failed" >> $GITHUB_STEP_SUMMARY
fi
fi
done
fi
done
echo "" >> $GITHUB_STEP_SUMMARY
echo "## Overall Summary" >> $GITHUB_STEP_SUMMARY
echo "- **Total Packages Tested:** $TOTAL_PACKAGES" >> $GITHUB_STEP_SUMMARY
echo "- **Passed:** $PASSED_PACKAGES ✅" >> $GITHUB_STEP_SUMMARY
echo "- **Failed:** $FAILED_PACKAGES ❌" >> $GITHUB_STEP_SUMMARY
#test