hotfix: problem with multi-engine execution (#70) #7
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-test | |
on: | |
push: | |
# Skip the backend suite if all changes are docs | |
paths-ignore: | |
- "docs/**" | |
- "**/*.md" | |
- "**/*.qmd" | |
- "*.md" | |
- "codecov.yml" | |
- ".envrc" | |
branches: | |
- main | |
- master | |
tags: | |
- '*' | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
target: [x86_64, x86, aarch64] | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: extractions/setup-just@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: download test data | |
run: just download-data | |
- name: Rust latest | |
run: rustup update | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Poetry install | |
run: poetry install --with="dev,test" --extras="duckdb snowflake datafusion" | |
working-directory: ${{ github.workspace }} | |
- name: maturin develop | |
run: poetry run maturin develop | |
working-directory: ${{ github.workspace }} | |
- name: start services | |
run: docker compose up --build --wait | |
- name: poetry pytest | |
run: poetry run pytest --cov --cov-report=xml | |
working-directory: ${{ github.workspace }} | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |