-
Notifications
You must be signed in to change notification settings - Fork 17
96 lines (92 loc) · 2.16 KB
/
Copy pathtest.pluto.yaml
File metadata and controls
96 lines (92 loc) · 2.16 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
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
92
93
94
95
96
name: Test - Pluto
on:
pull_request:
paths:
- .github/actions/test-typescript/**
- .github/workflows/test.pluto.yaml
- alamos/go/**
- alamos/ts/**
- aspen/**
- cesium/**
- client/ts/**
- codecov.yaml
- configs/eslint/**
- configs/ts/**
- configs/vite/**
- core/**
- freighter/go/**
- freighter/ts/**
- package.json
- pluto/**
- pnpm-lock.yaml
- pnpm-workspace.yaml
- turbo.json
- x/go/**
- x/media/**
- x/ts/**
push:
branches:
- main
- rc
paths:
- .github/actions/test-typescript/**
- .github/workflows/test.pluto.yaml
- alamos/go/**
- alamos/ts/**
- aspen/**
- cesium/**
- client/ts/**
- codecov.yaml
- configs/eslint/**
- configs/ts/**
- configs/vite/**
- core/**
- freighter/go/**
- freighter/ts/**
- package.json
- pluto/**
- pnpm-lock.yaml
- pnpm-workspace.yaml
- turbo.json
- x/go/**
- x/media/**
- x/ts/**
workflow_dispatch:
jobs:
server:
uses: ./.github/workflows/build.docker.yaml
permissions:
packages: write
with:
module: core
tag: ghcr.io/synnaxlabs/synnax:${{ github.sha }}
test:
runs-on: ubuntu-latest
needs: server
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
services:
synnax:
image: ghcr.io/synnaxlabs/synnax:${{ github.sha }}
env:
SYNNAX_VERBOSE: true
SYNNAX_INSECURE: true
SYNNAX_MEM: true
SYNNAX_LICENSE_KEY: ${{ secrets.SYNNAX_LICENSE_KEY }}
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
ports:
- 9090:9090
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Test TypeScript
uses: ./.github/actions/test-typescript
with:
package: pluto
coverage_flag: pluto
directory: pluto
test_args: -- --no-file-parallelism