forked from dcharbonnier/Haraka
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (40 loc) · 1.07 KB
/
ci-test.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
name: Haraka Tests
on: [ push, pull_request ]
env:
CI: true
jobs:
ci-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
# node 0.6, no longer supported by async
# node 0.8, no longer supported by iconv
# node 0.10, maintenance ended 2016-10-31
# node 4, maint. ended 2016-12
# node 6, maint. ended 2018-04
# node 8, maint. ended 2019-12
# node 10, maint. ends 2021-04
# node 12, maint. ends 2022-04
node-version: [ 14, 16 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
name: Checkout Haraka
with:
fetch-depth: 1
- uses: actions/setup-node@v3
name: Use Node.js ${{ matrix.node-version }} on ${{ matrix.os }}
with:
node-version: ${{ matrix.node-version }}
- name: Install bsdtar
run: |
sudo apt-get update
sudo apt-get install -y libarchive-tools
- run: npm install
- run: npm run test
services:
redis:
image: redis
ports:
- 6379/tcp