-
Notifications
You must be signed in to change notification settings - Fork 1
52 lines (38 loc) · 1.16 KB
/
test_cb_docker.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
name: cb docker
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Compose Action
uses: isbang/[email protected]
with:
compose-file: "./tests/docker_files/cb_docker-compose.yml"
- name: Wait on
uses: iFaxity/wait-on-action@v1
with:
resource: http://localhost:8080
- name: Check running containers
run: docker ps -a
- name: set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Nox Dependencies
run: python -m pip install poetry nox nox-poetry pyparsing==3.0.4 sphinx sphinx-testing pytest
- name: Install sne
run: poetry build
- name: Install project
run: pip install .
- name: Install doc requirements
run: pip install -r docs/requirements.txt
- name: Final package list
run: pip freeze
- name: GitHub Action for pytest
run: python -m pytest ./tests/test_docker_cb_api.py -m "ci_test and cb_docker_needed"