Skip to content

Merge pull request #8 from replicate/support-official-models #44

Merge pull request #8 from replicate/support-official-models

Merge pull request #8 from replicate/support-official-models #44

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install -r requirements-test.txt
pip install .
- name: Lint
run: |
./script/lint
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install -r requirements-test.txt
pip install .
- name: Run pytest
run: |
./script/unit-test