-
-
Notifications
You must be signed in to change notification settings - Fork 102
53 lines (45 loc) · 1.26 KB
/
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
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: karrio-tests
on: [push]
jobs:
sdk-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: |
./bin/setup-sdk-env &&
./bin/run-sdk-typecheck &&
./bin/run-sdk-tests
server-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v2
- name: Run Tests
run: |
./bin/setup-server-env &&
./bin/migrate &&
./bin/run-server-tests
dashbaord-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 22.x
- name: Install
run: |
npm install -g corepack
mkdir -p ~/.volta/bin
corepack enable --install-directory ~/.volta/bin
npm install
- name: Test Build
run: |
npm run build -w apps/dashboard