2021-08-23 13:06:14 -05:00
|
|
|
name: Tor Tests
|
|
|
|
env:
|
|
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
timeout-minutes: 60
|
|
|
|
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
|
|
|
env:
|
|
|
|
TOR: "1"
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Scala
|
2022-07-08 13:43:17 -05:00
|
|
|
uses: actions/setup-java@v3
|
2021-08-23 13:06:14 -05:00
|
|
|
with:
|
2022-07-08 13:43:17 -05:00
|
|
|
distribution: 'adopt'
|
2022-07-08 14:56:03 -05:00
|
|
|
java-version: '18'
|
2022-07-08 13:43:17 -05:00
|
|
|
cache: 'sbt'
|
2021-08-23 13:06:14 -05:00
|
|
|
- name: Cache
|
|
|
|
uses: actions/cache@v2
|
|
|
|
with:
|
|
|
|
path: |
|
|
|
|
~/.ivy2/cache
|
|
|
|
~/.sbt
|
|
|
|
~/.bitcoin-s/binaries
|
|
|
|
key: ${{ runner.os }}-cache
|
|
|
|
- name: run tests
|
2022-04-19 08:32:09 -05:00
|
|
|
run: sbt ++2.13.8 torTest/test
|