-
-
Notifications
You must be signed in to change notification settings - Fork 4
91 lines (85 loc) · 2.73 KB
/
pr-core-tests.yml
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: Core Tests
on:
pull_request:
jobs:
leia-tests:
runs-on: ${{ matrix.os }}
env:
TERM: xterm
# DEBUG: "lando*"
LANDO_CORE_RUNTIME: 4
LANDO_CORE_DEVELOPMENT: 1
LANDO_CORE_TELEMETRY: 0
strategy:
fail-fast: false
matrix:
# leia-test:
# - examples/badname
# - examples/base
# - examples/events
# - examples/keys
# - examples/lando-101
# - examples/landofile-custom
# - examples/long-name
# - examples/networking
# - examples/proxy
# - examples/scanner
# - examples/services
# - examples/tooling
lando-version:
# NOTE: we will want to progressively scale down the "risk" as the 3.x cli runtime 4 handling matures
# - edge
# - stable
- 3-dev
node-version:
- '20'
os:
- ubuntu-24.04
steps:
# Install deps and cache
# Eventually it would be great if these steps could live in a separate YAML file
# that could be included in line to avoid code duplication
- name: Checkout code
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
- name: Bundle Deps
uses: lando/prepare-release-action@v3
with:
lando-plugin: true
version: dev
sync: false
# - name: Setup lando ${{ matrix.lando-version }}
# uses: lando/setup-lando@v3
# with:
# lando-version: ${{ matrix.lando-version }}
# telemetry: false
# config: |
# setup.skipCommonPlugins=true
# setup.plugins.@lando/core-next=/home/runner/work/core-next/core-next
# @TODO: swtich to @lando/setup-lando action?
# - name: Globally dogfood the plugin
# run: |
# mkdir -p ~/.local/share/lando/plugins/@lando
# ln -sf "$(pwd)" ~/.local/share/lando/plugins/@lando/core-next
# ls -lsa ~/.local/share/lando/plugins/@lando
# lando version --clear
# - name: Verify we can run the packaged CLI
# run: |
# lando version --all
# lando config
# lando plugins
# lando registry
# - name: Run Leia Tests
# uses: lando/run-leia-action@v2
# with:
# leia-test: "./${{ matrix.leia-test }}/README.md"
# cleanup-header: "Destroy tests"
# shell: bash
# stdin: true