Speedup conformance tests execution by moving the build step to the host machine #450
Workflow file for this run
This file contains hidden or 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: Scala CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '24' | |
distribution: 'temurin' | |
cache: 'sbt' | |
- uses: sbt/setup-sbt@v1 | |
- name: Check Formatting | |
run: sbt scalafmtCheckAll | |
- name: Run tests | |
run: sbt test | |
- name: Run conformance tests for http4s-server | |
run: make test-conformance profile=http4s-server | |
- name: Run conformance tests for http4s-client | |
run: make test-conformance profile=http4s-client | |
- name: Run conformance tests for netty-server | |
run: make test-conformance profile=netty-server | |
dependency-graph: | |
name: Update Dependency Graph | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: 'sbt' | |
- uses: sbt/setup-sbt@v1 | |
- uses: scalacenter/sbt-dependency-submission@v3 |