Update .gitignore #481
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: Unit tests | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test-edge: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- image: mcr.microsoft.com/azure-sql-edge | |
- image: mcr.microsoft.com/mssql/server:2019-latest | |
- image: mcr.microsoft.com/mssql/server:2022-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- uses: devcontainers/ci@v0.3 | |
with: | |
runCmd: | | |
docker pull ${{matrix.image}} | |
sqltest runall --image ${{matrix.image}} --project ./latest/tSQLt.Edge.Tests --cc-include-tsqlt | |
sqltest runall --image ${{matrix.image}} --project ./latest/tSQLt.Edge.Tests.CaseSensitive --cc-include-tsqlt | |
sqltest runall --image ${{matrix.image}} --project ./latest/tSQLt.Original.Tests --cc-disable | |
sqltest runall --image ${{matrix.image}} --project ./current/Example.Tests | |
test-xmlresult: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- uses: devcontainers/ci@v0.3 | |
with: | |
runCmd: dotnet test ./latest/tSQLt.XmlResult.Tests | |
test-legacy: | |
runs-on: ubuntu-latest | |
env: | |
image: mcr.microsoft.com/mssql/server:2019-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: devcontainers/ci@v0.3 | |
with: | |
runCmd: | | |
docker pull ${{env.image}} | |
sqltest runall --image ${{env.image}} --project ./legacy/tSQLt.Unoriginal.Tests --cc-disable | |
sqltest runall --image ${{env.image}} --project ./legacy/Example.Tests |