-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (74 loc) · 2.59 KB
/
Copy pathheavy.yml
File metadata and controls
77 lines (74 loc) · 2.59 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
on:
# schedule: [cron: '0 0 * * *'] # Each Midnight
workflow_dispatch: # Allow manual trigger
jobs:
audit-deps:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
extra-substituters = https://cache.garnix.io
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
- uses: cachix/cachix-action@v17
with:
name: gfauredev
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop -c cargo deny check
test-mutants:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
extra-substituters = https://cache.garnix.io
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
- uses: cachix/cachix-action@v17
with:
name: gfauredev
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix develop -c cargo mutants --no-shuffle \
--caught --timeout 300 --exclude "src/components/*"
e2e-android:
runs-on: macos-latest # Apple Silicon for native ARM64 emulation
timeout-minutes: 60
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
extra-substituters = https://cache.garnix.io
extra-trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
- uses: cachix/cachix-action@v17
with:
name: gfauredev
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: gh release download --pattern "*.apk" --dir . # From CD
env:
GH_TOKEN: ${{ github.token }}
# Set up ARM64 Android emulator and run tests
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
target: google_apis
arch: arm64-v8a
force-avd-creation: false
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: true
script: |
adb install -r LogOut.arm64-v8a.apk
nix run .#androidE2eTest
- if: failure()
uses: actions/upload-artifact@v7
with:
name: maestro-android-report
path: ~/.maestro/tests