Skip to content

Docker compose healthcheck #956

Docker compose healthcheck

Docker compose healthcheck #956

Workflow file for this run

name: builds
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python: ['3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Cache python modules
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-python-${{ matrix.python }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}-build
- name: Install dependencies
run: pip install --no-cache-dir -r requirements.txt
- name: Install pyro-predictor
run: pip install -e pyro-predictor/
- name: Install local package
run: pip install -e . --upgrade
- name: Import package and check version
run: python -c "import pyroengine; print(pyroengine.__version__)"