Skip to content

Commit

Permalink
Add matrix values to check current and latest version of AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jmartinezramirez committed Apr 11, 2024
1 parent aa5b101 commit 3a6ff67
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
matrix:
dotnet: ['net6.0', 'net472', 'net471']
cloud_env: ['AZURE', 'GCP', 'AWS']
pkg_version: ['current', 'latest']
steps:
- uses: actions/checkout@v3
- name: Setup Dotnet
Expand All @@ -56,9 +57,17 @@ jobs:
run: |
gpg --quiet --batch --yes --decrypt --passphrase="$PARAMETER_SECRET" \
./.github/workflows/parameters/parameters_${{ matrix.cloud_env }}.json.gpg > Snowflake.Data.Tests/parameters.json
- name: Build Driver
- name: Build Driver Current
if: ${{ matrix.pkg_version == 'current' }}
run: |
cd Snowflake.Data.Tests
dotnet restore
dotnet build -f ${{ matrix.dotnet }}
- name: Build Driver Latest
if: ${{ matrix.pkg_version == 'latest' }}
run: |
cd Snowflake.Data.Tests
dotnet add ./../Snowflake.Data/Snowflake.Data.csproj package AWSSDK.S3
dotnet restore
dotnet build -f ${{ matrix.dotnet }}
- name: Run Tests
Expand Down

0 comments on commit 3a6ff67

Please sign in to comment.