Skip to content

update

update #133

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"