Skip to content

Commit 39b901c

Browse files
committed
disable a couple of irrelevant tests
1 parent b7c3a9c commit 39b901c

File tree

6 files changed

+183
-181
lines changed

6 files changed

+183
-181
lines changed

.github/workflows/build_test.yml

Lines changed: 49 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
os:
7474
- image: ubuntu-20.04
7575
id: manylinux_x86_64
76-
- image: ubuntu-20.04
77-
id: manylinux_aarch64
78-
- image: windows-2019
79-
id: win_amd64
80-
- image: macos-latest
81-
id: macosx_x86_64
82-
- image: macos-latest
83-
id: macosx_arm64
76+
# - image: ubuntu-20.04
77+
# id: manylinux_aarch64
78+
# - image: windows-2019
79+
# id: win_amd64
80+
# - image: macos-latest
81+
# id: macosx_x86_64
82+
# - image: macos-latest
83+
# id: macosx_arm64
8484
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
8585
python-version: ["3.11"]
8686
name: Build ${{ matrix.os.id }}-py${{ matrix.python-version }}
@@ -129,7 +129,8 @@ jobs:
129129
download_name: win_amd64
130130
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
131131
python-version: ["3.11"]
132-
cloud-provider: [aws, azure, gcp]
132+
# cloud-provider: [aws, azure, gcp]
133+
cloud-provider: [aws]
133134
steps:
134135
- uses: actions/checkout@v4
135136
- name: Set up Python
@@ -146,6 +147,7 @@ jobs:
146147
docker pull localstack/snowflake &
147148
pip install localstack
148149
IMAGE_NAME=localstack/snowflake DEBUG=1 localstack start -d
150+
localstack wait
149151
150152
- name: Setup parameters file
151153
shell: bash
@@ -185,44 +187,44 @@ jobs:
185187
.tox/.coverage
186188
.tox/coverage.xml
187189
188-
test-olddriver:
189-
name: Old Driver Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
190-
needs: lint
191-
runs-on: ${{ matrix.os.image_name }}
192-
strategy:
193-
fail-fast: false
194-
matrix:
195-
os:
196-
- image_name: ubuntu-latest
197-
download_name: linux
198-
python-version: [3.8]
199-
cloud-provider: [aws]
200-
steps:
201-
- uses: actions/checkout@v4
202-
- name: Set up Python
203-
uses: actions/setup-python@v4
204-
with:
205-
python-version: ${{ matrix.python-version }}
206-
- name: Display Python version
207-
run: python -c "import sys; print(sys.version)"
208-
- name: Setup parameters file
209-
shell: bash
210-
env:
211-
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
212-
run: |
213-
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
214-
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
215-
- name: Upgrade setuptools, pip and wheel
216-
run: python -m pip install -U setuptools pip wheel
217-
- name: Install tox
218-
run: python -m pip install tox>=4
219-
- name: Run tests
220-
run: python -m tox run -e olddriver
221-
env:
222-
PYTHON_VERSION: ${{ matrix.python-version }}
223-
cloud_provider: ${{ matrix.cloud-provider }}
224-
PYTEST_ADDOPTS: --color=yes --tb=short
225-
shell: bash
190+
# test-olddriver:
191+
# name: Old Driver Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
192+
# needs: lint
193+
# runs-on: ${{ matrix.os.image_name }}
194+
# strategy:
195+
# fail-fast: false
196+
# matrix:
197+
# os:
198+
# - image_name: ubuntu-latest
199+
# download_name: linux
200+
# python-version: [3.8]
201+
# cloud-provider: [aws]
202+
# steps:
203+
# - uses: actions/checkout@v3
204+
# - name: Set up Python
205+
# uses: actions/setup-python@v4
206+
# with:
207+
# python-version: ${{ matrix.python-version }}
208+
# - name: Display Python version
209+
# run: python -c "import sys; print(sys.version)"
210+
# - name: Setup parameters file
211+
# shell: bash
212+
# env:
213+
# PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
214+
# run: |
215+
# gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
216+
# .github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
217+
# - name: Upgrade setuptools, pip and wheel
218+
# run: python -m pip install -U setuptools pip wheel
219+
# - name: Install tox
220+
# run: python -m pip install tox>=4
221+
# - name: Run tests
222+
# run: python -m tox run -e olddriver
223+
# env:
224+
# PYTHON_VERSION: ${{ matrix.python-version }}
225+
# cloud_provider: ${{ matrix.cloud-provider }}
226+
# PYTEST_ADDOPTS: --color=yes --tb=short
227+
# shell: bash
226228

227229
test-noarrowextension:
228230
name: No Arrow Extension Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}

.github/workflows/changelog.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
name: Changelog Check
2-
3-
on:
4-
pull_request:
5-
types: [opened, synchronize, labeled, unlabeled]
6-
branches:
7-
- main
8-
9-
jobs:
10-
check_change_log:
11-
runs-on: ubuntu-latest
12-
if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}}
13-
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v3
16-
with:
17-
fetch-depth: 0
18-
19-
- name: Ensure DESCRIPTION.md is updated
20-
run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -wq "DESCRIPTION.md"
1+
#name: Changelog Check
2+
#
3+
#on:
4+
# pull_request:
5+
# types: [opened, synchronize, labeled, unlabeled]
6+
# branches:
7+
# - main
8+
#
9+
#jobs:
10+
# check_change_log:
11+
# runs-on: ubuntu-latest
12+
# if: ${{!contains(github.event.pull_request.labels.*.name, 'NO-CHANGELOG-UPDATES')}}
13+
# steps:
14+
# - name: Checkout
15+
# uses: actions/checkout@v3
16+
# with:
17+
# fetch-depth: 0
18+
#
19+
# - name: Ensure DESCRIPTION.md is updated
20+
# run: git diff --name-only --diff-filter=ACMRT ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep -wq "DESCRIPTION.md"

.github/workflows/cla_bot.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
name: "CLA Assistant"
2-
on:
3-
issue_comment:
4-
types: [created]
5-
pull_request_target:
6-
types: [opened,closed,synchronize]
7-
8-
jobs:
9-
CLAssistant:
10-
runs-on: ubuntu-latest
11-
permissions:
12-
actions: write
13-
contents: write
14-
pull-requests: write
15-
statuses: write
16-
steps:
17-
- name: "CLA Assistant"
18-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
19-
uses: contributor-assistant/github-action/@master
20-
env:
21-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22-
PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}
23-
with:
24-
path-to-signatures: 'signatures/version1.json'
25-
path-to-document: 'https://github.com/snowflakedb/CLA/blob/main/README.md'
26-
branch: 'main'
27-
allowlist: 'dependabot[bot],github-actions,Jenkins User,sfc-gh-snyk-sca-sa'
28-
remote-organization-name: 'snowflakedb'
29-
remote-repository-name: 'cla-db'
1+
#name: "CLA Assistant"
2+
#on:
3+
# issue_comment:
4+
# types: [created]
5+
# pull_request_target:
6+
# types: [opened,closed,synchronize]
7+
#
8+
#jobs:
9+
# CLAssistant:
10+
# runs-on: ubuntu-latest
11+
# permissions:
12+
# actions: write
13+
# contents: write
14+
# pull-requests: write
15+
# statuses: write
16+
# steps:
17+
# - name: "CLA Assistant"
18+
# if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
19+
# uses: contributor-assistant/github-action/@master
20+
# env:
21+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
# PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_BOT_TOKEN }}
23+
# with:
24+
# path-to-signatures: 'signatures/version1.json'
25+
# path-to-document: 'https://github.com/snowflakedb/CLA/blob/main/README.md'
26+
# branch: 'main'
27+
# allowlist: 'dependabot[bot],github-actions,Jenkins User,sfc-gh-snyk-sca-sa'
28+
# remote-organization-name: 'snowflakedb'
29+
# remote-repository-name: 'cla-db'

.github/workflows/semgrep.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
---
2-
name: Run semgrep checks
3-
4-
on:
5-
pull_request:
6-
branches: [main]
7-
8-
permissions:
9-
contents: read
10-
11-
jobs:
12-
run-semgrep-reusable-workflow:
13-
uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main
14-
secrets:
15-
token: ${{ secrets.SEMGREP_APP_TOKEN }}
1+
#---
2+
#name: Run semgrep checks
3+
#
4+
#on:
5+
# pull_request:
6+
# branches: [main]
7+
#
8+
#permissions:
9+
# contents: read
10+
#
11+
#jobs:
12+
# run-semgrep-reusable-workflow:
13+
# uses: snowflakedb/reusable-workflows/.github/workflows/semgrep-v2.yml@main
14+
# secrets:
15+
# token: ${{ secrets.SEMGREP_APP_TOKEN }}

.github/workflows/snyk-issue.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
name: Snyk Issue
2-
3-
on:
4-
schedule:
5-
- cron: '* */12 * * *'
6-
7-
permissions:
8-
contents: read
9-
issues: write
10-
pull-requests: write
11-
12-
concurrency: snyk-issue
13-
14-
jobs:
15-
snyk:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout Action
19-
uses: actions/checkout@v3
20-
with:
21-
repository: snowflakedb/whitesource-actions
22-
token: ${{ secrets.whitesource_action_token }}
23-
path: whitesource-actions
24-
- name: Set Env
25-
run: echo "repo=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_ENV
26-
- name: Jira Creation
27-
uses: ./whitesource-actions/snyk-issue
28-
with:
29-
snyk_org: ${{ secrets.snyk_org_id_public_repo }}
30-
snyk_token: ${{ secrets.snyk_github_integration_token_public_repo }}
31-
jira_token: ${{ secrets.jira_token_public_repo }}
32-
env:
33-
gh_token: ${{ secrets.github_token }}
1+
#name: Snyk Issue
2+
#
3+
#on:
4+
# schedule:
5+
# - cron: '* */12 * * *'
6+
#
7+
#permissions:
8+
# contents: read
9+
# issues: write
10+
# pull-requests: write
11+
#
12+
#concurrency: snyk-issue
13+
#
14+
#jobs:
15+
# snyk:
16+
# runs-on: ubuntu-latest
17+
# steps:
18+
# - name: Checkout Action
19+
# uses: actions/checkout@v3
20+
# with:
21+
# repository: snowflakedb/whitesource-actions
22+
# token: ${{ secrets.whitesource_action_token }}
23+
# path: whitesource-actions
24+
# - name: Set Env
25+
# run: echo "repo=$(basename $GITHUB_REPOSITORY)" >> $GITHUB_ENV
26+
# - name: Jira Creation
27+
# uses: ./whitesource-actions/snyk-issue
28+
# with:
29+
# snyk_org: ${{ secrets.snyk_org_id_public_repo }}
30+
# snyk_token: ${{ secrets.snyk_github_integration_token_public_repo }}
31+
# jira_token: ${{ secrets.jira_token_public_repo }}
32+
# env:
33+
# gh_token: ${{ secrets.github_token }}

.github/workflows/snyk-pr.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
name: Snyk PR
2-
on:
3-
pull_request:
4-
branches:
5-
- main
6-
7-
permissions:
8-
contents: read
9-
issues: write
10-
pull-requests: write
11-
12-
jobs:
13-
snyk:
14-
runs-on: ubuntu-latest
15-
if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}
16-
steps:
17-
- name: Checkout
18-
uses: actions/checkout@v3
19-
with:
20-
ref: ${{ github.event.pull_request.head.ref }}
21-
fetch-depth: 0
22-
23-
- name: Checkout Action
24-
uses: actions/checkout@v3
25-
with:
26-
repository: snowflakedb/whitesource-actions
27-
token: ${{ secrets.whitesource_action_token }}
28-
path: whitesource-actions
29-
30-
- name: Snyk Pull Request Scan Check
31-
uses: ./whitesource-actions/snyk-pr
32-
env:
33-
pr_title: ${{ github.event.pull_request.title }}
34-
with:
35-
jira_token: ${{ secrets.jira_token_public_repo }}
36-
gh_token: ${{ secrets.github_token }}
37-
amend: false
1+
#name: Snyk PR
2+
#on:
3+
# pull_request:
4+
# branches:
5+
# - main
6+
#
7+
#permissions:
8+
# contents: read
9+
# issues: write
10+
# pull-requests: write
11+
#
12+
#jobs:
13+
# snyk:
14+
# runs-on: ubuntu-latest
15+
# if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }}
16+
# steps:
17+
# - name: Checkout
18+
# uses: actions/checkout@v3
19+
# with:
20+
# ref: ${{ github.event.pull_request.head.ref }}
21+
# fetch-depth: 0
22+
#
23+
# - name: Checkout Action
24+
# uses: actions/checkout@v3
25+
# with:
26+
# repository: snowflakedb/whitesource-actions
27+
# token: ${{ secrets.whitesource_action_token }}
28+
# path: whitesource-actions
29+
#
30+
# - name: Snyk Pull Request Scan Check
31+
# uses: ./whitesource-actions/snyk-pr
32+
# env:
33+
# pr_title: ${{ github.event.pull_request.title }}
34+
# with:
35+
# jira_token: ${{ secrets.jira_token_public_repo }}
36+
# gh_token: ${{ secrets.github_token }}
37+
# amend: false

0 commit comments

Comments
 (0)