This repository has been archived by the owner on Jan 5, 2025. It is now read-only.
integration test for table renaming #72
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
# Cancels pending runs when a PR gets updated. | |
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ] | |
sqlite: | |
- version: 3.26.0 | |
year: 2018 | |
- version: 3.30.1 | |
year: 2019 | |
- version: 3.34.1 | |
year: 2021 | |
- version: 3.38.5 | |
year: 2022 | |
- version: 3.42.0 | |
year: 2023 | |
- version: 3.45.0 | |
year: 2024 | |
runs-on: ${{ matrix.os }} | |
env: | |
SQLITE_VERSION: ${{ matrix.sqlite.version }} | |
SQLITE_YEAR: ${{ matrix.sqlite.year }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/deps | |
zig-cache | |
~/.cache/zig | |
~/AppData/Local/zig | |
key: test-${{ runner.os }}-sqlite-${{ matrix.sqlite.version }} | |
- name: Test (Linux) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sh ci/linux-x86_64-test.sh | |
- name: Test (MacOS) | |
if: ${{ matrix.os == 'macos-latest' }} | |
run: ci/macos-x86_64-test.sh | |
- name: Test (Windows) | |
if: ${{ matrix.os == 'windows-latest' }} | |
run: ci/windows-x86_64-test.ps1 |