chore: updated documentation #81
Workflow file for this run
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: 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 |