Skip to content

ci: Create merge-conflict-autolabel.yml #540

ci: Create merge-conflict-autolabel.yml

ci: Create merge-conflict-autolabel.yml #540

Workflow file for this run

name: Run checks
on:
pull_request:
branches: [ main ]
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: build docker containers
run: |
echo "" > .envrc
echo CONFIG_PATH=data/config/openfoodfacts.yml >> .envrc
echo OFF_API_URL=https://world.openfoodfacts.org >> .envrc
echo ALLOWED_ORIGINS='http://localhost,http://127.0.0.1,https://*.openfoodfacts.org,https://*.openfoodfacts.net' >> .envrc
echo USER_IID=$(id -u) >>.envrc
echo USER_GID=$(id -g) >>.envrc
make build
- name: Enforce pre-commit hook server side
uses: pre-commit/[email protected]
- name: run tests
run: make test