Remove top lvl race condition #466
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' }} | |
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: 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 |