Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI configuration for SQLite without pushdown #3381

Merged
merged 7 commits into from
Sep 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
AlekSi committed Sep 20, 2023
commit 375cb33fb2fb9e3ab4bba0c77a2e9532dd5e2a21
14 changes: 7 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ jobs:
git diff --exit-code

integration:
name: Integration ${{ matrix.name }} ${{ matrix.shard_index }}/${{ matrix.shard_total }}
name: Integration ${{ matrix.name }} ${{ matrix.shard_index }}/${{ matrix.shard_total }} (pushdown=${{ matrix.pushdown || true }})
runs-on:
group: paid
timeout-minutes: 20

# Do not run this job in parallel for any PR change or branch push
# to save some resources.
concurrency:
group: ${{ github.workflow }}-integration-${{ matrix.name }}-${{ matrix.shard_index }}-${{ github.head_ref || github.ref_name }}
group: ${{ github.workflow }}-integration-${{ matrix.name }}-${{ matrix.shard_index }}-${{ matrix.pushdown || true }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

if: github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'not ready')
Expand All @@ -187,9 +187,9 @@ jobs:

# move that to cron-only workflow
# TODO https://github.com/FerretDB/FerretDB/issues/3126
- { name: "SQLite", task: "sqlite", shard_index: 1, shard_total: 3, disable_filter_pushdown: true }
- { name: "SQLite", task: "sqlite", shard_index: 2, shard_total: 3, disable_filter_pushdown: true }
- { name: "SQLite", task: "sqlite", shard_index: 3, shard_total: 3, disable_filter_pushdown: true }
- { name: "SQLite", task: "sqlite", shard_index: 1, shard_total: 3, pushdown: true }
- { name: "SQLite", task: "sqlite", shard_index: 2, shard_total: 3, pushdown: true }
- { name: "SQLite", task: "sqlite", shard_index: 3, shard_total: 3, pushdown: true }

steps:
- name: Setup permissions monitoring
Expand Down Expand Up @@ -220,12 +220,12 @@ jobs:
- name: Wait for and setup environment
run: bin/task env-setup

- name: Run ${{ matrix.name }} tests (${{ matrix.shard_index }}/${{ matrix.shard_total }})
- name: Run ${{ matrix.name }} tests (${{ matrix.shard_index }}/${{ matrix.shard_total }}, pushdown=${{ matrix.pushdown || true }})
run: >
bin/task test-integration-${{ matrix.task }}
SHARD_INDEX=${{ matrix.shard_index }}
SHARD_TOTAL=${{ matrix.shard_total }}
DISABLE_FILTER_PUSHDOWN=${{ matrix.disable_filter_pushdown || false }}
DISABLE_FILTER_PUSHDOWN=${{ !matrix.pushdown || true }}
env:
GOFLAGS: ${{ runner.debug == '1' && '-v' || '' }}

Expand Down