Add new macOS CI matrix to try and speed up mac jobs (#5364)

* Add new macOS CI matrix to try and speed up mac jobs

* Remove appServer heading in wallet,node,dlc CI run

* Remove tests from other matrix
This commit is contained in:
Chris Stewart 2024-01-20 18:20:35 -06:00 committed by GitHub
parent 73785706d8
commit 83a27e2775
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,33 @@
name: Mac 2.13 Crypto, Core, AppServer
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
on:
pull_request:
jobs:
test:
runs-on: macos-latest
timeout-minutes: 60
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Scala
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '17'
cache: 'sbt'
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
~/.bitcoin-s/binaries
key: ${{ runner.os }}-wallet-node-dlc-test-cache
- name: run tests
run: sbt coverage cryptoTestJVM/test coreTestJVM/test secp256k1jni/test appCommonsTest/test asyncUtilsTestJVM/test dlcNodeTest/test appServerTest/test

View File

@ -1,4 +1,4 @@
name: Mac 2.13 Wallet, Node, DLC, appServer tests
name: Mac 2.13 Wallet, Node, DLC tests
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
@ -30,4 +30,4 @@ jobs:
~/.bitcoin-s/binaries
key: ${{ runner.os }}-wallet-node-dlc-test-cache
- name: run tests
run: sbt coverage cryptoTestJVM/test coreTestJVM/test secp256k1jni/test appCommonsTest/test walletTest/test dlcWalletTest/test wallet/coverageReport wallet/coverageAggregate wallet/coveralls nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcOracleTest/test asyncUtilsTestJVM/test dlcOracle/coverageReport dlcOracle/coveralls dlcNodeTest/test appServerTest/test
run: sbt coverage walletTest/test dlcWalletTest/test wallet/coverageReport wallet/coverageAggregate wallet/coveralls nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcOracleTest/test dlcOracle/coverageReport dlcOracle/coveralls