Skip to content

Commit

Permalink
disable windows testing
Browse files Browse the repository at this point in the history
  • Loading branch information
hafenkran committed Jul 8, 2024
1 parent 0274686 commit f9b2e25
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,33 +383,33 @@ jobs:
with:
vcpkgGitCommitId: ${{ inputs.vcpkg_commit }}

- name: Install SSL Certificates
run: |
New-Item -ItemType Directory -Path 'C:\\certificates' -Force;
$url = 'https://pki.google.com/roots.pem';
$output = 'C:\\certificates\\roots.pem';
$client = New-Object System.Net.WebClient;
for ($i = 0; $i -lt 5; $i++) {
try {
$client.DownloadFile($url, $output);
break;
} catch {
Write-Host 'Download failed, retrying...';
Start-Sleep -Seconds 5;
}
}
shell: pwsh

- name: Set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH
run: |
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=C:\\certificates\\roots.pem
shell: cmd
# - name: Install SSL Certificates
# run: |
# New-Item -ItemType Directory -Path 'C:\\certificates' -Force;
# $url = 'https://pki.google.com/roots.pem';
# $output = 'C:\\certificates\\roots.pem';
# $client = New-Object System.Net.WebClient;
# for ($i = 0; $i -lt 5; $i++) {
# try {
# $client.DownloadFile($url, $output);
# break;
# } catch {
# Write-Host 'Download failed, retrying...';
# Start-Sleep -Seconds 5;
# }
# }
# shell: pwsh

# - name: Set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH
# run: |
# set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=C:\\certificates\\roots.pem
# shell: cmd

- name: Verify SSL Certificates
run: |
if not exist C:\\certificates\\roots.pem echo "roots.pem file not found!" && exit 1
echo "roots.pem file downloaded successfully."
shell: cmd
# - name: Verify SSL Certificates
# run: |
# if not exist C:\\certificates\\roots.pem echo "roots.pem file not found!" && exit 1
# echo "roots.pem file downloaded successfully."
# shell: cmd

- name: Build extension
env:
Expand All @@ -418,22 +418,22 @@ jobs:
run: |
make release CURL_LIBRARY=$CURL_LIBRARY CURL_INCLUDE_DIR=$CURL_INCLUDE_DIR
- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCS_SERVICE_ACCOUNT_KEY }}'
# - id: 'auth'
# uses: 'google-github-actions/auth@v2'
# with:
# credentials_json: '${{ secrets.GCS_SERVICE_ACCOUNT_KEY }}'

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
# - name: 'Set up Cloud SDK'
# uses: 'google-github-actions/setup-gcloud@v2'

- name: Test Extension
env:
BQ_TEST_PROJECT: ${{ secrets.BQ_TEST_PROJECT }}
BQ_ATTACH_DB_URL: bigquery
GRPC_DEFAULT_SSL_ROOTS_FILE_PATH: ${{ env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH }}
shell: bash
run: |
make test
# - name: Test Extension
# env:
# BQ_TEST_PROJECT: ${{ secrets.BQ_TEST_PROJECT }}
# BQ_ATTACH_DB_URL: bigquery
# GRPC_DEFAULT_SSL_ROOTS_FILE_PATH: ${{ env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH }}
# shell: bash
# run: |
# make test

- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit f9b2e25

Please sign in to comment.