mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 01:40:55 +01:00
Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other CI jobs (#4633)
* Get rid of standalone scalajs, mdoc CI matrix. Consolidate with other jobs for faster performance * Adjust CI matrix name * Address review, bump heap size
This commit is contained in:
parent
b18da7ac2b
commit
713ee75d4c
3
.github/workflows/Compile.yml
vendored
3
.github/workflows/Compile.yml
vendored
@ -9,7 +9,6 @@ jobs:
|
|||||||
compile:
|
compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
if: "! contains(github.event.pull_request.labels.*.name, 'documentation')"
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -22,4 +21,4 @@ jobs:
|
|||||||
java-version: '17'
|
java-version: '17'
|
||||||
cache: 'sbt'
|
cache: 'sbt'
|
||||||
- name: Compile and Check Formatting
|
- name: Compile and Check Formatting
|
||||||
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll
|
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll docs/mdoc
|
||||||
|
32
.github/workflows/Docs.yml
vendored
32
.github/workflows/Docs.yml
vendored
@ -1,32 +0,0 @@
|
|||||||
name: Docs
|
|
||||||
env:
|
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Compile-Website:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 60
|
|
||||||
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@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.ivy2/cache
|
|
||||||
~/.sbt
|
|
||||||
~/.bitcoin-s/binaries
|
|
||||||
key: ${{ runner.os }}-cache
|
|
||||||
- name: Compile website
|
|
||||||
run: sbt ++2.13.8 docs/mdoc
|
|
4
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
4
.github/workflows/Linux_2.13_Node_Tests.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Linux 2.13 Node Tests
|
name: Linux 2.13 Node & Scalajs Tests
|
||||||
env:
|
env:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
|
||||||
@ -30,4 +30,4 @@ jobs:
|
|||||||
~/.bitcoin-s/binaries
|
~/.bitcoin-s/binaries
|
||||||
key: ${{ runner.os }}-cache
|
key: ${{ runner.os }}-cache
|
||||||
- name: run tests
|
- name: run tests
|
||||||
run: sbt ++2.13.8 coverage nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcNodeTest/test
|
run: sbt -J-Xmx2g ++2.13.8 coverage nodeTest/test node/coverageReport node/coverageAggregate node/coveralls dlcNodeTest/test cryptoTestJS/test coreJS/test 'set scalaJSStage in Global := FullOptStage' cryptoTestJS/test coreJS/test asyncUtilsTestJS/test
|
||||||
|
33
.github/workflows/Linux_2.13_ScalaJS_Tests.yml
vendored
33
.github/workflows/Linux_2.13_ScalaJS_Tests.yml
vendored
@ -1,33 +0,0 @@
|
|||||||
name: Linux 2.13 Scala.js 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')"
|
|
||||||
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@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.ivy2/cache
|
|
||||||
~/.sbt
|
|
||||||
~/.bitcoin-s/binaries
|
|
||||||
key: ${{ runner.os }}-cache
|
|
||||||
- name: run tests
|
|
||||||
run: sbt ++2.13.8 cryptoTestJS/test coreJS/test 'set scalaJSStage in Global := FullOptStage' cryptoTestJS/test coreJS/test asyncUtilsTestJS/test
|
|
Loading…
Reference in New Issue
Block a user