Skip to content

add LDAP test server #20

add LDAP test server

add LDAP test server #20

Workflow file for this run

name: Multilanguage Invoice OCR
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.12
- name: Install dependencies
run: |
sudo apt update
sudo apt install make
make install
# - name: Run bot tests
# run: make bot
- name: Run paddleocr test
run: python src/ocr_reader.py
- name: Run invoice extraction test
run: python src/invoice_extraction.py
- name: Run streamlit app test
run: make run
- name: Install Docker
run: |
sudo apt-get update
sudo apt-get install -y docker.io
sudo systemctl start docker
sudo systemctl enable docker
- name: Pull Ollama Docker image
run: docker pull ollama
- name: Run Ollama on port 11434
run: |
docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
- name: Execute Ollama command
run: |
docker exec ollama_container ollama run qwen2:7b