Skip to content

Commit

Permalink
Disable python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Mar 28, 2024
1 parent 781d00a commit ff6a01d
Showing 1 changed file with 43 additions and 43 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/Python.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
##
## NOTE: if python tests are unused, deleting this file or disabling the workflow on GitHub will speed up CI
##
#
# NOTE: if python tests are unused, deleting this file or disabling the workflow on GitHub will speed up CI
#

name: Python
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:
python:
name: Python
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 Python client
run: make debug_python

- name: Install Python test dependencies
run: python -m pip install --upgrade pytest

- name: Run Python client tests
run: |
make test_debug_python
#name: Python
#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:
# python:
# name: Python
# 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 Python client
# run: make debug_python
#
# - name: Install Python test dependencies
# run: python -m pip install --upgrade pytest
#
# - name: Run Python client tests
# run: |
# make test_debug_python

0 comments on commit ff6a01d

Please sign in to comment.