Skip to content

fix(text_extract) Updates from PR #619

fix(text_extract) Updates from PR

fix(text_extract) Updates from PR #619

Workflow file for this run

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