AzureSQL #538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: AzureSQL | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".vscode/*" | |
- "**.md" | |
pull_request: | |
paths-ignore: | |
- ".vscode/*" | |
- "**.md" | |
schedule: | |
- cron: "0 6 * * *" | |
# Cancel existing runs on new commits to a branch | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
SQLINSTANCE: "expresssql.database.windows.net" | |
DATABASE: "expresssql" | |
SAPASSWORD: ${{ secrets.AZURE_SQL_PASSWORD }} | |
SA: ${{ secrets.AZURE_SQL_LOGIN }} | |
jobs: | |
integration: | |
runs-on: ${{ matrix.os }} | |
name: linux | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3.5.3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install/Update tSQLt | |
uses: ./ | |
with: | |
sql-instance: ${{ env.SQLINSTANCE }} | |
database: ${{ env.DATABASE }} | |
version: "latest" | |
user: ${{ env.SA }} | |
password: ${{ env.SAPASSWORD }} | |
create-database: true | |
update: true |