Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 Switch to linux for ci testing and building #284

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading