Skip to content

Merge pull request #3 from replicate/fix-safe-tempfile-unlink #29

Merge pull request #3 from replicate/fix-safe-tempfile-unlink

Merge pull request #3 from replicate/fix-safe-tempfile-unlink #29

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