Skip to content

chore: updated documentation #81

chore: updated documentation

chore: updated documentation #81

name: pytest with docker
on:
push:
branches: [ "feat/**", "fix/**" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: docker-compose up
env:
COMPOSE_INTERACTIVE_NO_CLI: 1
run: docker-compose up --build -d
#- name: Check running containers
# run: docker-compose ps -a
#- name: Check logs
# run: docker-compose logs teal
- name: Test with pytest
env:
COMPOSE_INTERACTIVE_NO_CLI: 1
run: docker-compose run teal pytest --no-header -v --disable-warnings
- name: docker-compose down
if: always()
run: docker-compose down