Skip to content

Check compatibility #5725

Check compatibility

Check compatibility #5725

name: Check compatibility
on:
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
push:
branches:
- main
paths-ignore:
- '**/README.md'
schedule:
- cron: '5 */8 * * *'
workflow_dispatch: {}
jobs:
image-api:
name: Image API
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Python dependencies
run: python -m pip install -r requirements.txt
- name: Set up API server
uses: opvious/api-server-action@v0.2.0
with:
license-key: ${{ secrets.OPVIOUS_LICENSE_KEY }}
- name: Check compatibility
run: ./scripts/check-compatibility.sh
- name: Show API logs
if: failure()
run: opvious api logs