Skip to content

Commit e79483b

Browse files
committed
Add conditional checks to every step in the sqlite migration job.
1 parent b306203 commit e79483b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/check_migrations_sqlite.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
apt-get -y -qq update
3030
apt-get install -y build-essential tcl git-lfs
3131
- uses: actions/checkout@v4
32+
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
3233
with:
3334
lfs: true
3435
- name: Build SQLite 3.25.3
@@ -45,12 +46,14 @@ jobs:
4546
# Once we have confirmed that this works, set it for subsequent steps
4647
echo "LD_PRELOAD=$(realpath .libs/libsqlite3.so)" >> $GITHUB_ENV
4748
- uses: actions/cache@v4
49+
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
4850
with:
4951
path: ~/.cache/pip
5052
key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}
5153
restore-keys: |
5254
${{ runner.os }}-pip-
5355
- name: Install dependencies
56+
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
5457
run: pip install .
5558
- name: Run migrations
5659
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}

0 commit comments

Comments
 (0)