-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 908 Bytes
/
test-deploy.yml
File metadata and controls
40 lines (35 loc) · 908 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Test Deploy Command
on:
push:
branches: [ main ]
paths:
- 'cloud/commands/deploy.md'
- 'cloud/tests/**'
- '.github/workflows/test-deploy.yml'
pull_request:
branches: [ main ]
paths:
- 'cloud/commands/deploy.md'
- 'cloud/tests/**'
- '.github/workflows/test-deploy.yml'
jobs:
test-deploy-exclusions:
name: Test Deploy File Exclusions
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run deploy exclusion tests
run: |
cd cloud
chmod +x tests/test-deploy-exclusions.sh
./tests/test-deploy-exclusions.sh
- name: Test results summary
if: always()
run: |
if [ $? -eq 0 ]; then
echo "✅ All deploy exclusion tests passed"
else
echo "❌ Some deploy exclusion tests failed"
exit 1
fi