Skip to content

Commit

Permalink
fix: generate appsettings.local.json before running integration test …
Browse files Browse the repository at this point in the history
…project
  • Loading branch information
nozzlegear committed Jan 21, 2025
1 parent 07ede7e commit 70d0769
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,20 @@ jobs:
- name: Checkout branch
uses: actions/checkout@v4

- name: Create ShopifySharp.Tests.Integration/appsettings.local.json
run: |
cat <<EOF > ShopifySharp.Tests.Integration/appsettings.local.json
{
"ShopifySharp": {
"Credentials": {
"ShopDomain": "${{ secrets.SHOPIFYSHARP_MY_SHOPIFY_URL }}",
"AccessToken": "${{ secrets.SHOPIFYSHARP_ACCESS_TOKEN }}",
"ApiKey": "${{ secrets.SHOPIFYSHARP_API_KEY }}"
}
}
}
EOF
- name: Execute unit test script
run: fish .github/scripts/test.fish
shell: bash
Expand Down

0 comments on commit 70d0769

Please sign in to comment.