Skip to content

Commit bd826e8

Browse files
committed
disable a couple of irrelevant tests
1 parent 4c2eb87 commit bd826e8

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 }}
@@ -128,7 +128,8 @@ jobs:
128128
download_name: win_amd64
129129
# python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
130130
python-version: ["3.11"]
131-
cloud-provider: [aws, azure, gcp]
131+
# cloud-provider: [aws, azure, gcp]
132+
cloud-provider: [aws]
132133
steps:
133134
- uses: actions/checkout@v3
134135
- name: Set up Python
@@ -145,6 +146,7 @@ jobs:
145146
docker pull localstack/snowflake &
146147
pip install localstack
147148
IMAGE_NAME=localstack/snowflake DEBUG=1 localstack start -d
149+
localstack wait
148150
149151
- name: Setup parameters file
150152
shell: bash
@@ -183,44 +185,44 @@ jobs:
183185
.tox/.coverage
184186
.tox/coverage.xml
185187
186-
test-olddriver:
187-
name: Old Driver Test ${{ matrix.os.download_name }}-${{ matrix.python-version }}-${{ matrix.cloud-provider }}
188-
needs: lint
189-
runs-on: ${{ matrix.os.image_name }}
190-
strategy:
191-
fail-fast: false
192-
matrix:
193-
os:
194-
- image_name: ubuntu-latest
195-
download_name: linux
196-
python-version: [3.8]
197-
cloud-provider: [aws]
198-
steps:
199-
- uses: actions/checkout@v3
200-
- name: Set up Python
201-
uses: actions/setup-python@v4
202-
with:
203-
python-version: ${{ matrix.python-version }}
204-
- name: Display Python version
205-
run: python -c "import sys; print(sys.version)"
206-
- name: Setup parameters file
207-
shell: bash
208-
env:
209-
PARAMETERS_SECRET: ${{ secrets.PARAMETERS_SECRET }}
210-
run: |
211-
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETERS_SECRET" \
212-
.github/workflows/parameters/public/parameters_${{ matrix.cloud-provider }}.py.gpg > test/parameters.py
213-
- name: Upgrade setuptools, pip and wheel
214-
run: python -m pip install -U setuptools pip wheel
215-
- name: Install tox
216-
run: python -m pip install tox>=4
217-
- name: Run tests
218-
run: python -m tox run -e olddriver
219-
env:
220-
PYTHON_VERSION: ${{ matrix.python-version }}
221-
cloud_provider: ${{ matrix.cloud-provider }}
222-
PYTEST_ADDOPTS: --color=yes --tb=short
223-
shell: bash
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@v3
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
224226

225227
test-noarrowextension:
226228
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)