Migrate (possibly) all scalatests to use BaseSpec #1421
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: Storage Integration Service | |
on: | |
pull_request: | |
paths: | |
- 'storage/**' | |
- 'build.sbt' | |
- 'project/**' | |
- '.github/workflows/ci-storage.yml' | |
jobs: | |
run: | |
if: github.event_name == 'pull_request' | |
runs-on: it | |
timeout-minutes: 20 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
check-latest: true | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: StaticAnalysis | |
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" clean scalafmtCheck Test/scalafmtCheck scalafmtSbtCheck scapegoat | |
- name: Tests | |
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" clean coverage test coverageReport coverageAggregate | |
- name: Assembly | |
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" assembly | |
review-permission-fixer: | |
if: github.event_name == 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Build image | |
run: docker build ./storage/permissions-fixer --tag=nexus/fixer | |
- name: Compile and run tests | |
run: docker run nexus/fixer |