Skip to content

Workflow file for this run

name: Python Continuous Integration
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
PYTHON_VERSION: 3.11
AZURE_RESOURCE_GROUP_NAME: "azure-ml-gui"
AZURE_LOCATION: "northeurope"
AZURE_ML_WORKSPACE_NAME: "cats-dogs-gui"
AZURE_WEBAPP_NAME: "cats-dogs-gui"
permissions:
id-token: write
contents: write
packages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v3
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Poetry dependencies
run: |
python -m pip install --upgrade pip
pip install --user poetry
- name: Install dependencies
working-directory: production/api
run: |
sudo apt-get install llvm
python -m pip wheel --no-cache-dir --use-pep517 "llvmlite (==0.34.0)"
poetry install