Skip to content

make warning a debug log #175

make warning a debug log

make warning a debug log #175

name: Ingegration API Tests
on:
push:
# only trigger on branches, not on tags
branches: 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip stuff
- name: Run Install Swirl
run: ./install.sh
- name: Update apt
run: sudo apt -o Acquire::Retries=3 update
- name: Run Install redist-server
run: sudo apt install -y redis-server
- name: Set up SWIRL
run: python swirl.py setup
- name: Start up SWIRL
run: python swirl.py start
- name: Run Integrated API tests
run: docker run --net=host -t swirlai/swirl-search:latest-integrated-api sh -c "behave --tags=integrated_api"