1
0
Fork 0
mirror of https://github.com/IRS-Public/direct-file.git synced 2025-08-10 15:30:54 +00:00
direct-file/.github/workflows/run-scala-factgraph-tests.yml
Skippy Williams 6b19d54b02 Run fact graph tests on all pushes
Right now, if you push a change that fails CI, and then push a fix, CI doesn't check your work again, unless you open a new PR. This should let me see if a new push fixes an issue.
2025-06-20 18:54:38 -07:00

46 lines
996 B
YAML

name: Run Scala Fact-Graph test suite
on:
push:
paths:
- 'direct-file/fact-graph-scala/**'
branches:
- "**"
pull_request:
paths:
- 'direct-file/fact-graph-scala/**'
branches: [main]
jobs:
scala-tests:
name: Run Scala Fact Graph Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: direct-file/fact-graph-scala
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- name: Cache sbt
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
~/.coursier
key: sbt-cache-${{ runner.os }}-${{ hashFiles('backend/**.sbt') }}
restore-keys: |
sbt-cache-${{ runner.os }}
- uses: sbt/setup-sbt@v1
- name: Run Scala tests
run: sbt test