-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (37 loc) · 1.09 KB
/
e2e-test.yml
File metadata and controls
42 lines (37 loc) · 1.09 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
name: E2E Test
on:
workflow_dispatch:
jobs:
# Launch Lambda instance and register runner
lambda:
uses: ./.github/workflows/runner.yml
secrets: inherit
with:
instance_type: gpu_1x_a10
region: us-east-1
runner_grace_period: "30"
runner_initial_grace_period: "120"
debug: "true"
# Run test job on the Lambda runner
gpu-test:
needs: lambda
runs-on: ${{ needs.lambda.outputs.id }}
steps:
- name: System info
run: |
echo "=== System Info ==="
echo "Hostname: $(hostname)"
echo "OS: $(cat /etc/os-release | grep PRETTY_NAME)"
echo "Kernel: $(uname -r)"
echo "User: $(whoami)"
- name: GPU info
run: |
echo "=== GPU Info ==="
nvidia-smi
- name: CUDA check
run: |
echo "=== CUDA Version ==="
nvcc --version || echo "nvcc not in PATH"
cat /usr/local/cuda/version.txt 2>/dev/null || echo "CUDA version file not found"
- name: Success
run: echo "E2E test completed successfully on Lambda Labs GPU instance!"