-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (47 loc) · 1.43 KB
/
minimal-test.yml
File metadata and controls
55 lines (47 loc) · 1.43 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Minimal Test
# Concurrency control
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
actions: read
jobs:
minimal-test:
name: Minimal Test
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: Test basic functionality
run: |
echo "Testing basic shell commands..."
ls -la
echo "Current directory: $(pwd)"
echo "Git status:"
git status --short || true
- name: Test simple matrix generation
run: |
echo "Testing matrix generation..."
matrix='[{"name": "test", "path": ".", "type": "basic"}]'
echo "Generated matrix: $matrix"
echo "$matrix" | jq .
- name: Success
run: |
echo "✅ Minimal test passed!"
echo "## ✅ Minimal Test Results" >> $GITHUB_STEP_SUMMARY
echo "All basic functionality tests completed successfully." >> $GITHUB_STEP_SUMMARY
echo "- Shell commands: ✅ Working" >> $GITHUB_STEP_SUMMARY
echo "- Git operations: ✅ Working" >> $GITHUB_STEP_SUMMARY
echo "- JSON parsing: ✅ Working" >> $GITHUB_STEP_SUMMARY