Merge branch 'main' into bump-meilisearch-v1.3.0 #266
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
# Testing the code base against the Meilisearch pre-releases | |
name: Pre-Release Tests | |
# Will only run for PRs and pushes to bump-meilisearch-v* | |
on: | |
push: | |
branches: bump-meilisearch-v* | |
pull_request: | |
branches: bump-meilisearch-v* | |
jobs: | |
integration_tests: | |
name: integration-tests-against-rc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 3.1.101 | |
- name: Get the latest Meilisearch RC | |
run: echo "MEILISEARCH_VERSION=$(curl https://raw.githubusercontent.com/meilisearch/integration-guides/main/scripts/get-latest-meilisearch-rc.sh | bash)" >> $GITHUB_ENV | |
- name: Meilisearch (${{ env.MEILISEARCH_VERSION }}) setup with Docker | |
run: MEILISEARCH_VERSION=${{ env.MEILISEARCH_VERSION }} docker compose up -d | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Run tests | |
run: dotnet test --no-restore --verbosity normal |