Update unitTests.yml #21
Workflow file for this run
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: End-to-End Tests | |
on: [push, pull_request] | |
jobs: | |
e2eTests: | |
runs-on: ubuntu-latest | |
name: End-to-End Tests | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
- name: Set up Docker | |
uses: docker/setup-buildx-action@v2 | |
- name: Start local Kusto cluster | |
run: | | |
docker run -e ACCEPT_EULA=Y -m 4G -d -p 8080:8080 -t mcr.microsoft.com/azuredataexplorer/kustainer-linux:latest | |
- name: Set E2E_TESTING environment variables | |
run: echo "E2E_TESTING=1" >> $GITHUB_ENV | |
- name: Run end-to-end tests | |
run: dotnet test ./CSharp.OpenSource.LinqToKql.Test |