Amend code for non-ssl version #291
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
# This workflow will run tests | |
name: Test application | |
on: | |
push: | |
branches: [ "non-ssl" ] | |
pull_request: | |
branches: [ "non-ssl" ] | |
types: [opened, synchronize, reopened, edited] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build image | |
run: docker-compose up -d --build | |
- name: List container | |
run: docker-compose ps | |
- name: Run tests | |
run: docker-compose run --rm -e TF_CPP_MIN_LOG_LEVEL="3" -v "$(pwd)/tests:/tests" -v "$(pwd)/services:/services" flask python -m pytest tests/ |