-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspread.yaml
More file actions
53 lines (41 loc) · 1.14 KB
/
spread.yaml
File metadata and controls
53 lines (41 loc) · 1.14 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
project: vale-snap
backends:
qemu:
systems:
# build via autopkgtest-buildvm-ubuntu-cloud and mv to ~/.spread/qemu/
- ubuntu-24.04-64:
username: ubuntu
password: ubuntu
path: /spread/vale-snap
exclude:
- .git
- .github
- vale*.snap
environment:
SNAP: vale
CHANNEL/latest_stable: latest/stable
CHANNEL/latest_candidate: latest/candidate
CHANNEL/latest_beta: latest/beta
CHANNEL/latest_edge: latest/edge
suites:
tests/:
summary: spread tests
prepare: |
# ensure machine is up to date
export DEBIAN_FRONTEND=noninteractive
# use apt-get to support older Ubuntu releases
apt-get update
apt-get -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-confdef" upgrade -y
# use apt-get to support older Ubuntu releases
apt-get autoremove --purge -y
apt install -y snapd git
prepare-each: |
snap install $SNAP --channel $CHANNEL
# configure vale
cp $SPREAD_PATH/tests/.vale.ini ~
mkdir -p ~/.local/share
# sync style definitions
vale sync
restore-each: |
snap remove $SNAP
rm -rf snap/$SNAP