Merge remote-tracking branch 'barstools/master' into flatten-barstools

This commit is contained in:
Jerry Zhao
2024-04-19 10:59:56 -07:00
48 changed files with 11680 additions and 0 deletions

44
.github/workflows/run-ci.yml vendored Normal file
View File

@@ -0,0 +1,44 @@
name: Test
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
scala: [ 2.12.14 ]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Cache
uses: coursier/cache-action@v5
- name: Get submodules
run: git submodule update --init
- name: Test
run: sbt test
doc:
name: Documentation and formatting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- name: Check Formatting
run: sbt scalafmtCheckAll
all_test_passed:
name: "all tests passed"
runs-on: ubuntu-latest
needs: [test, doc]
steps:
- run: echo Success