chore(deps): update dependency dapper to v2 #438
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: Integration Test | |
on: [ push, pull_request ] | |
jobs: | |
SmartSql-Unit-Test: | |
name: SmartSql Unit Test | |
runs-on: ubuntu-latest | |
env: | |
REDIS: true | |
strategy: | |
matrix: | |
dotnet: [ '6.0.x' ] | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 6379:6379 | |
steps: | |
- name: Start Mysql | |
run: sudo /etc/init.d/mysql start | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Set up dotnet | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
server-id: github | |
settings-path: ${{ github.workspace }} | |
- name: Init SmartSql-Test-Db | |
run: mysql -vvv -h localhost -uroot -proot < src/SmartSql.Test.Unit/DB/init-mysql-db.sql | |
- name: Unit Test | |
run: dotnet test |