Update NuGet Packages - Minor Updates #410
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
integration-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: 🔨 set up .net 7 | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: 🥋 generate karate feature | |
run: dotnet run --project src/GraphQLToKarate.CommandLine/GraphQLToKarate.CommandLine.csproj convert resources/blog.graphql --non-interactive --configuration-file resources/configuration.json | |
- name: 💨 run integration api | |
run: dotnet run --project tests/GraphQLToKarate.Integration.Api/GraphQLToKarate.Integration.Api.csproj --urls http://localhost:9001/ & | |
- name: 🥱 wait for integration api | |
run: sleep 5s | |
- name: 🔨 set up java 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: 📩 download karate | |
run: curl -L -o karate.jar https://github.com/karatelabs/karate/releases/download/v1.4.0/karate-1.4.0.jar | |
- name: 🥋 run karate | |
run: java -jar karate.jar blog.feature |