Skip to content

Tomas/batching (#19) #35

Tomas/batching (#19)

Tomas/batching (#19) #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- ".github/workflows/CI.yml"
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: On ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: eifinger/setup-rye@v2
with:
enable-cache: true
- name: Sync dependencies
run: rye sync --no-lock
- name: Check code
run: |
rye lint
rye run check-types
- name: Check types
run: rye run check-types
- name: Test code
run: rye test