Skip to content

Commit

Permalink
Merge branch 'main' into twyatt/ci/temurin11
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt authored Jul 5, 2022
2 parents 17b03e8 + 8ec61aa commit 442499a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ env:

jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, macos-11]
runs-on: ${{ matrix.os }}

runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
Expand Down Expand Up @@ -55,21 +51,17 @@ jobs:
-PRELEASE_SIGNING_ENABLED=false \
publishToMavenLocal
fi
if: ${{ runner.os == 'macOS' && github.repository_owner == 'JuulLabs' }}
- run: ./gradlew jacocoTestReport
if: runner.os == 'Linux'

- uses: EnricoMi/publish-unit-test-result-action@v1
- uses: EnricoMi/publish-unit-test-result-action/composite@v1
with:
files: '**/build/test-results/**/*.xml'
report_individual_runs: 'true'
if: runner.os == 'Linux'

- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
if: runner.os == 'Linux'

- run: |
rm -f ~/.gradle/caches/modules-2/modules-2.lock
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ jobs:
- run: ./gradlew dokkaHtmlMultiModule

- uses: JamesIves/github-pages-deploy-action@v4.3.3
- uses: JamesIves/github-pages-deploy-action@v4.3.4
with:
branch: gh-pages
folder: build/gh-pages

- run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ jobs:
${{ runner.os }}-publish-
${{ runner.os }}-
- run: ./gradlew check
# Enabled new memory model for tests to workaround `MockEngine` freezing issue (after upgrading to Ktor 2.0.0).
# https://github.com/JuulLabs/tuulbox/pull/168
- run: ./gradlew -Pkotlin.native.binary.memoryModel=experimental check

- run: >-
./gradlew
--no-parallel
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ coroutines = "1.6.1"
coroutines-native = "1.6.0-native-mt!!"
jacoco = "0.8.7"
kotlin = "1.7.0"
ktor = "2.0.2"
ktor = "2.0.3"

[libraries]
androidx-startup = { module = "androidx.startup:startup-runtime", version = "1.1.1" }
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "coroutines" }
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
kotlinx-coroutines-native = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines-native" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.3.3" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version = "0.4.0" }
ktor-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
ktor-logging = { module = "io.ktor:ktor-client-logging", version.ref = "ktor" }
ktor-mock = { module = "io.ktor:ktor-client-mock", version.ref = "ktor" }
Expand Down

0 comments on commit 442499a

Please sign in to comment.