Bump System.Data.SqlClient from 4.6.1 to 4.8.6 in /src/PrismaDB.Benchmark #11
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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
test_docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup NuGet | |
uses: nuget/setup-nuget@v1 | |
- name: Restore packages | |
run: nuget restore | |
- name: Publish with dotnet | |
run: | | |
dotnet publish --configuration Release --no-restore --output "./publish/" | |
- name: Install Docker machine | |
run: | | |
base=https://github.com/docker/machine/releases/download/v0.16.0 && | |
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine && | |
sudo mv /tmp/docker-machine /usr/local/bin/docker-machine && | |
chmod +x /usr/local/bin/docker-machine | |
- name: Run test and benchmark on DigitalOcean | |
run: ./ci/test.ps1 | |
shell: pwsh | |
env: | |
VERSION: 0.0.0-test | |
DO_TOKEN: ${{ secrets.DO_TOKEN }} | |
BENCHMARK_DB_PASSWORD: ${{ secrets.PRISMADB_BENCHMARK_DB_PASSWORD }} | |
- name: Remove Docker machine | |
if: always() | |
run: ./ci/remove.ps1 | |
shell: pwsh |