-
Notifications
You must be signed in to change notification settings - Fork 9
41 lines (32 loc) · 1.24 KB
/
Copy pathdaily-integration-test.yaml
File metadata and controls
41 lines (32 loc) · 1.24 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
name: Daily Integration Test
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *' # daily, off-peak UTC
jobs:
integration-test:
runs-on: ${{ matrix.os }}
timeout-minutes: 35
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
config: .github/daily-integration-test/macos.codify.jsonc
- os: ubuntu-latest
config: .github/daily-integration-test/linux.codify.jsonc
steps:
- uses: actions/checkout@v4
- name: Remove preinstalled Node/Python/Go
run: .github/daily-integration-test/cleanup-${{ runner.os == 'macOS' && 'macos' || 'linux' }}.sh
- name: Install Codify via public installer
run: curl -fsSL https://releases.codifycli.com/install.sh | bash
- run: codify --version
- name: Apply daily test config
run: codify apply ${{ matrix.config }} -y --sudoPassword ci-runner --output plain
- name: Verify installed resources
run: .github/daily-integration-test/verify.sh
- name: Destroy nvm and goenv
run: codify destroy nvm goenv -y --sudoPassword ci-runner --output plain
- name: Verify destroy removed nvm/goenv
run: .github/daily-integration-test/verify-destroyed.sh