Skip to content

Add github actions

Add github actions #4

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install venv
run: make install_venv
- name: Start service
run: make start
- run: sleep 5 && wget --waitretry=5 --retry-connrefused -v http://127.0.0.1:5051/info