Skip to content

Fix structure concurrency bug #509

Fix structure concurrency bug

Fix structure concurrency bug #509

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
paths:
- ".github/workflows/CI.yml"
- "src/**"
- "tests/**"
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
run:
name: On ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} with python version ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- uses: eifinger/setup-rye@v2
with:
enable-cache: true
cache-prefix: '${{ matrix.python-version }}-'
version: '0.40.0'
- name: Sync dependencies
run: rye pin ${{ matrix.python-version }} && rye sync --no-lock
- name: Check code
run: |
rye lint
rye run check-types
- name: Check types
run: rye run check-types
- name: Checkout resonate repository
uses: actions/checkout@v4
with:
repository: resonatehq/resonate
path: resonate
- name: Build resonate
run: go build -o resonate
working-directory: resonate
- name: Start resonate server
run: ./resonate serve &
working-directory: resonate
- name: Test code
timeout-minutes: 10
env:
RESONATE_STORE_URL: http://localhost:8001
run: rye test