fix #2021 #2907
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: Build & Test | |
on: | |
push: | |
paths: | |
- 'otoroshi/**' | |
pull_request: | |
paths: | |
- 'otoroshi/**' | |
jobs: | |
test-otoroshi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# setup java to use sbt | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
# setup node to use yarn | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
#test oto | |
- uses: coursier/cache-action@v5 | |
- name: run-tests | |
id: run-tests | |
run: | | |
sh ./scripts/build.sh test_all |