generated from duckdb/extension-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
38 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
## | ||
## NOTE: if NodeJS tests are unused, deleting this file or disabling the workflow on GitHub will speed up CI | ||
## | ||
# | ||
# NOTE: if NodeJS tests are unused, deleting this file or disabling the workflow on GitHub will speed up CI | ||
#name: NodeJS | ||
#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 | ||
#defaults: | ||
# run: | ||
# shell: bash | ||
# | ||
|
||
name: NodeJS | ||
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 | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
nodejs: | ||
name: NodeJS | ||
runs-on: ubuntu-latest | ||
env: | ||
GEN: ninja | ||
|
||
steps: | ||
- name: Install Ninja | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y -qq ninja-build | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Build DuckDB NodeJS client | ||
run: make debug_js | ||
|
||
- name: Run NodeJS client tests | ||
run: make test_debug_js | ||
#jobs: | ||
# nodejs: | ||
# name: NodeJS | ||
# runs-on: ubuntu-latest | ||
# env: | ||
# GEN: ninja | ||
# | ||
# steps: | ||
# - name: Install Ninja | ||
# run: | | ||
# sudo apt-get update -y -qq | ||
# sudo apt-get install -y -qq ninja-build | ||
# | ||
# - uses: actions/checkout@v2 | ||
# with: | ||
# fetch-depth: 0 | ||
# submodules: 'true' | ||
# | ||
# - uses: actions/setup-python@v2 | ||
# with: | ||
# python-version: '3.9' | ||
# | ||
# - name: Build DuckDB NodeJS client | ||
# run: make debug_js | ||
# | ||
# - name: Run NodeJS client tests | ||
# run: make test_debug_js |