Skip to content

Commit

Permalink
Use ubuntu-latest for app, core, and ship workflows (#4792)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski authored Mar 13, 2024
1 parent 80fb06d commit d98e113
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-delta-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
run:
if: github.event_name == 'pull_request'
runs-on: it
runs-on: ubuntu-latest
timeout-minutes: 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-delta-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
run:
if: github.event_name == 'pull_request'
runs-on: it
runs-on: ubuntu-latest
timeout-minutes: 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-delta-ship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
run:
if: github.event_name == 'pull_request'
runs-on: it
runs-on: ubuntu-latest
timeout-minutes: 20
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import munit.catseffect.IOFixture
import munit.{AnyFixture, CatsEffectSuite}

import java.nio.file.{Files, Paths}
import scala.concurrent.duration.Duration

/**
* Test class that allows to check that across core and plugins:
Expand All @@ -27,6 +28,9 @@ import java.nio.file.{Files, Paths}
*/
class MainSuite extends NexusSuite with MainSuite.Fixture {

// The default timeout of 30s is slightly too short for the GitHub free runners
override val munitIOTimeout: Duration = Duration(60, "s")

private val pluginsParentPath = Paths.get("target/plugins").toAbsolutePath
private val pluginLoaderConfig = PluginLoaderConfig(pluginsParentPath.toString)

Expand Down

0 comments on commit d98e113

Please sign in to comment.