-
Notifications
You must be signed in to change notification settings - Fork 25
48 lines (40 loc) · 1.01 KB
/
integration-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
name: Integration tests
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
integration-tests:
name: ${{ matrix.package }}
runs-on: ubuntu-latest
strategy:
matrix:
package: ['@kadena/client', '@kadena/client-utils']
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
services:
devnet:
image: kadena/devnet
options:
--memory 7g --cpus 2 --health-cmd "curl --verbose --fail
http://localhost:8080/info || exit 1"
ports:
- 8080:8080
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: run integration tests
run: pnpm run test:integration --filter ${{ matrix.package }}