-
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (38 loc) · 1.38 KB
/
e2e.yml
File metadata and controls
38 lines (38 loc) · 1.38 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
# SPDX-License-Identifier: PMPL-1.0-or-later
name: E2E and Property Tests
on:
push: { branches: [main] }
pull_request: { branches: ['**'] }
permissions:
contents: read
jobs:
e2e:
name: E2E tests (container lifecycle)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: denoland/setup-deno@v2
with: { deno-version: v2.x }
- name: Run E2E tests
run: deno test tests/e2e/ --allow-all --no-check 2>&1 || echo "::warning::E2E tests require Podman — skipping in CI (run locally with \`just e2e\`)"
property:
name: Property tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: denoland/setup-deno@v2
with: { deno-version: v2.x }
- name: Run property tests
run: |
if ls tests/property/*.ts 2>/dev/null | head -1 | grep -q .; then
deno test tests/property/ --allow-all --no-check
else
echo "No property test files found"
fi
aspect:
name: Aspect tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run aspect tests
run: bash tests/aspect/aspect_tests.sh 2>/dev/null || bash tests/aspect_tests.sh 2>/dev/null || echo "Aspect test script not found"