forked from OpenNyAI/Jugalbandi-Manager
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (45 loc) · 1.4 KB
/
trigger-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: Test Cases
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Poetry
uses: snok/[email protected]
with:
version: latest
- name: Install dependencies JB lib
working-directory: ./jb-lib
run: poetry install --with test
- name: Test JB lib
working-directory: ./jb-lib
run: poetry run pytest
- name: Install dependencies channel
working-directory: ./channel
run: poetry install --with test
- name: Test channel with pytest
working-directory: ./channel
run: poetry run pytest
- name: Install dependencies language
working-directory: ./language
run: poetry install --with test
- name: Test language with pytest
working-directory: ./language
run: poetry run pytest
- name: Install dependencies api
working-directory: ./api
run: poetry install --with test
- name: Test api with pytest
working-directory: ./api
run: poetry run pytest
- name: Install dependencies flow
working-directory: ./flow
run: poetry install --with test
- name: Test flow with pytest
working-directory: ./flow
run: poetry run pytest