Skip to content

Skip streaming integration tests if REPLICATE_API_TOKEN isn't set #639

Skip streaming integration tests if REPLICATE_API_TOKEN isn't set

Skip streaming integration tests if REPLICATE_API_TOKEN isn't set #639

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
name: "Test Python ${{ matrix.python-version }}"
env:
REPLICATE_API_TOKEN: ${{ secrets.REPLICATE_API_TOKEN }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Setup
run: ./script/setup
- name: Test
run: ./script/test
- name: Lint
run: ./script/lint