Skip to content

feat: add workflow generator #7

feat: add workflow generator

feat: add workflow generator #7

Workflow file for this run

# Copyright (c) 2025 ADBC Drivers Contributors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This is a common workflow for building & testing Go drivers:
#
# - Build the driver
# - Start dependencies
# - Run tests
# - Build the shared library
#
# It is also planned to add credentials and run the full test suite where
# possible.
name: Test
on:
pull_request: {}
concurrency:
group: ${{ github.repository }}-${{ github.ref }}-${{ github.workflow }}-test
cancel-in-progress: true
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
test:
name: "Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 1
persist-credentials: false
- uses: prefix-dev/setup-pixi@82d477f15f3a381dbcc8adc1206ce643fe110fb7 # v0.9.3
with:
pixi-version: v0.50.2
- name: Test
run: |
pixi run --locked test