-
Notifications
You must be signed in to change notification settings - Fork 4
52 lines (42 loc) · 1.15 KB
/
main.yaml
File metadata and controls
52 lines (42 loc) · 1.15 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
name: XConn Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Setup environment & install dependencies
run: make setup
- name: Run unit tests
run: make test
- name: Install wick
run: sudo snap install wick --classic
- name: Run Integration tests
run: |
make install-nxt
nxt start -c tests/ &
timeout 30 bash -c 'until wick --url ws://localhost:8079/ws publish test; do sleep 1; done'
make integration
- name: Setup AAT
run: |
git clone https://github.com/xconnio/xconn-aat-setup.git
cd xconn-aat-setup
make up
timeout 30 bash -c 'until wick --url ws://localhost:8081/ws publish test; do sleep 1; done'
- name: Run AAT tests
run: make aat
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1