Skip to content

Commit

Permalink
👷 Switch to linux for ci testing and building (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
guiyanakuang authored Feb 2, 2024
1 parent b7173bf commit 4c84ba9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
Expand All @@ -21,17 +20,17 @@ jobs:
check-latest: true

- name: Cache Gradle dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build with Gradle
run: ./gradlew.bat build
run: ./gradlew build

- name: Run tests
run: ./gradlew.bat desktopTest
run: ./gradlew desktopTest
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ package com.clipevery.path

import com.clipevery.app.AppFileType
import com.clipevery.platform.currentPlatform
import org.junit.Ignore
import org.junit.Test
import kotlin.test.assertEquals

class PathProviderTest {

@Test
@Ignore
fun testPathProvider() {
val pathProvider = getPathProvider()

Expand Down

0 comments on commit 4c84ba9

Please sign in to comment.