Skip to content

chore(test): add test workflow #11

chore(test): add test workflow

chore(test): add test workflow #11

Workflow file for this run

name: Integration tests
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: |
setup.py
test-requirements.txt
- name: Install Python dependencies
run: |
pip install -r test-requirements.txt
pip install .
- name: Install RisingWave
run: curl -L https://risingwave.com/sh | sh
- name: Run integration tests
run: |
./risingwave &
sleep 3 # wait for RisingWave ready
pytest