|
1 | 1 | # Package Test Template |
2 | 2 | # |
3 | | -# This is a template for creating new package tests. To use it: |
| 3 | +# This is a TEMPLATE file - it will not run automatically. |
| 4 | +# To use it: |
4 | 5 | # 1. Copy this file to test-<your-package>.yml |
5 | | -# 2. Replace all <PACKAGE> placeholders with your package name |
6 | | -# 3. Replace all <package> placeholders with your package slug (lowercase, matches .md filename) |
| 6 | +# 2. Replace all <PACKAGE> placeholders with your package name (e.g., "Redis") |
| 7 | +# 3. Replace all <package> placeholders with your package slug (lowercase, e.g., "redis") |
7 | 8 | # 4. Update the install commands for your package |
8 | 9 | # 5. Update the version detection command |
9 | 10 | # 6. Add/modify/remove test steps as needed |
10 | 11 | # 7. Update package metadata in the JSON generation step |
| 12 | +# 8. Uncomment the 'push:' trigger section below (remove the workflow_dispatch if desired) |
11 | 13 | # |
12 | 14 | # See test-nginx.yml and test-envoy.yml for real examples. |
13 | 15 |
|
14 | 16 | name: Test <PACKAGE> on Arm64 |
15 | 17 |
|
16 | 18 | on: |
17 | | - workflow_dispatch: # Allow manual triggering |
18 | | - workflow_call: # Allow being called by parent workflow |
19 | | - push: |
20 | | - branches: |
21 | | - - main |
22 | | - - smoke_tests |
23 | | - paths: |
24 | | - - 'content/opensource_packages/<package>.md' |
25 | | - - '.github/workflows/test-<package>.yml' |
| 19 | + # This template file is for manual testing only. |
| 20 | + # When you copy this file, uncomment the push/workflow_call triggers below: |
| 21 | + workflow_dispatch: |
| 22 | + |
| 23 | + # Uncomment these when creating your actual test workflow: |
| 24 | + # workflow_call: |
| 25 | + # push: |
| 26 | + # branches: |
| 27 | + # - main |
| 28 | + # - smoke_tests |
| 29 | + # paths: |
| 30 | + # - 'content/opensource_packages/<package>.md' |
| 31 | + # - '.github/workflows/test-<package>.yml' |
26 | 32 |
|
27 | 33 | jobs: |
28 | 34 | test-<package>: |
|
0 commit comments