Update REAME.md and re-structure of openai input token #282
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit-test | |
on: | |
pull_request_target: | |
branches: | |
- master | |
- dev | |
jobs: | |
docker_health_check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: install requirements | |
run: pip install -r requirements.txt | |
- name: build services | |
run: docker compose build | |
- name: run services | |
run: docker compose up -d | |
# - name: Running Unit-tests | |
# run: pytest tests/ | |
# working-directory: ./app | |
- name: stop containers | |
run: docker compose down |