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-02-21 15:52:24 -06:00
|
|
|
uses: olafurpg/setup-scala@v13
|
2021-08-23 13:06:14 -05:00
|
|
|
with:
|
2022-02-21 09:44:59 -06:00
|
|
|
java-version: openjdk@1.17.0
|
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
|