Small fixes #6
This file contains hidden or 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: Tests and builds on PR | |
on: | |
pull_request: | |
branches: | |
- main | |
- v*.*-* | |
types: [opened, reopened, ready_for_review, converted_to_draft] | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
- '.editorconfig' | |
- 'scripts/**' | |
- '.github//**' | |
- '!.github/workflows/on_push.yml' | |
- '!.github/workflows/coverage.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
packaging_test: | |
name: Build a minimal set of packages and run all tests on them | |
# Skip packaging tests for draft PRs | |
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} | |
uses: ./.github/workflows/pypi_packaging.yml | |
with: | |
minimal: true | |
testsuite: all | |
duckdb_git_ref: ${{ github.base_ref }} | |
coverage_test: | |
name: Run coverage tests | |
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }} | |
uses: ./.github/workflows/coverage.yml | |
with: | |
duckdb_git_ref: ${{ github.base_ref }} | |
testsuite: all |