fix(text_extract) Updates from PR #619
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: Tests | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Create the .env settings file | |
run: cp .env.example .env.dev | |
- name: Update .env.dev file | |
run: | | |
echo 'DEBUG=on' >> .env.dev | |
- name: Build Image | |
run: docker-compose -f docker-compose.dev.yml up --build -d | |
- name: Run tests | |
run: docker exec mock_web_app python3 -m unittest doctor.tests |