Skip to content

Commit

Permalink
Merge pull request #31 from samansmink/reusable-workflows
Browse files Browse the repository at this point in the history
vcpkg, reusable workflows, dont link for client tests
  • Loading branch information
Mytherin authored Sep 1, 2023
2 parents 2572675 + 027dfe9 commit 529f9d7
Show file tree
Hide file tree
Showing 18 changed files with 213 additions and 437 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ClientTests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# This workflow runs (some of) the client test for the DuckDB extension. These should only be used when necessary, writing
# regular SQL tests is generally preferable. Feel free to remove this workflow for your extension.
#

name: Client specific tests
on: [push, pull_request, repository_dispatch]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

jobs:
client-tests:
name: Client Tests
uses: duckdb/duckdb/.github/workflows/_extension_client_tests.yml@26931f7ac687e8323c24e7f7b1e081114400d1b3
with:
duckdb_version: 26931f7ac6
4 changes: 2 additions & 2 deletions .github/workflows/ExtensionTemplate.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# NOTE: this workflow is for testing the extension template itself, feel free to delete this file in your own repo.
# NOTE: this workflow is for testing the extension template itself, this workflow should be removed in your extension
#

name: Extension Template
Expand All @@ -13,7 +13,7 @@ jobs:
name: Linux Extensions
if: ${{ vars.RUN_RENAME_TEST == 'true' }}
runs-on: ubuntu-latest
container: ubuntu:16.04
container: ubuntu:18.04
strategy:
matrix:
# Add commits/tags to build against other DuckDB versions
Expand Down
113 changes: 0 additions & 113 deletions .github/workflows/Linux.yml

This file was deleted.

92 changes: 0 additions & 92 deletions .github/workflows/MacOS.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/MainDistributionPipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#
# This workflow calls the main distribution pipeline from DuckDB to build, test and (optionally) release the extension
#
name: Main Extension Distribution Pipeline
on:
push:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }}
cancel-in-progress: true

jobs:
duckdb-main-pipeline:
name: DuckDB Main Pipeline
uses: duckdb/duckdb/.github/workflows/_extension_distribution.yml@26931f7ac687e8323c24e7f7b1e081114400d1b3
with:
duckdb_version: 26931f7ac6
extension_name: quack
extension_ref: ${{ github.ref_name }}
# Secrets are used to pass S3 credentials to the extension-upload script for distributing.
# Note that for security, switching to either explicitly passing secrets or moving the workflow into the extension
# repository can be considered.
secrets: inherit
40 changes: 0 additions & 40 deletions .github/workflows/NodeJS.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/Python.yml

This file was deleted.

Loading

0 comments on commit 529f9d7

Please sign in to comment.