-
Notifications
You must be signed in to change notification settings - Fork 86
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
Drop Travis CI #644
Drop Travis CI #644
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ name: Pull Requests | |
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- 2.1.x | ||
|
||
concurrency: | ||
# Only run once for latest commit per ref and cancel other (previous) runs. | ||
|
@@ -76,7 +73,6 @@ jobs: | |
run: sbt doc | ||
|
||
tests: | ||
if: ${{ github.base_ref != '2.1.x' }} | ||
runs-on: ubuntu-20.04 | ||
needs: # Waiting more lightweight checks | ||
- "check-code-style" | ||
|
@@ -106,35 +102,3 @@ jobs: | |
run: sbt ++$SCALA_VERSION 'testOnly -- xonly timefactor 5' | ||
env: | ||
SCALA_VERSION: ${{ matrix.scala }} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Moved to |
||
tests-21x: | ||
if: ${{ github.base_ref == '2.1.x' }} | ||
runs-on: ubuntu-20.04 | ||
needs: # Waiting more lightweight checks | ||
- "check-code-style" | ||
- "check-binary-compatibility" | ||
- "check-docs" | ||
strategy: | ||
matrix: | ||
jdk: [ 11, 8 ] | ||
scala: [ 2.12.15, 2.13.8 ] # Should be sync with Mergify conditions (.mergify.yml) | ||
name: Check / Tests (Scala ${{ matrix.scala }} & JDK ${{ matrix.jdk }}) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK ${{ matrix.jdk }} | ||
uses: olafurpg/setup-scala@v13 | ||
with: | ||
java-version: adopt@1.${{ matrix.jdk }} | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v6.2 | ||
|
||
- name: Tests | ||
run: sbt ++$SCALA_VERSION 'testOnly -- xonly timefactor 5' | ||
env: | ||
SCALA_VERSION: ${{ matrix.scala }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,7 @@ on: | |
push: | ||
branches: # Snapshots | ||
- main | ||
# - 2.1.x # TODO: 2.1.x don't support sbt-ci-release yet | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't need now |
||
tags: ["*"] # Releases | ||
tags-ignore: [ "2.1.*" ] # TODO: 2.1.x don't support sbt-ci-release yet | ||
|
||
jobs: | ||
publish-artifacts: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,45 +7,9 @@ queue_rules: | |
- check-success=Check / Docs | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 11\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 8\)$ | ||
- name: 2-1-x | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Second queue don't support in free version Mergify 😞 |
||
conditions: | ||
# Conditions to get out of the queue (= merged) | ||
- check-success=Check / Code Style | ||
- check-success=Check / Binary Compatibility | ||
- check-success=Check / Docs | ||
- check-success~=^Check / Tests \(Scala 2\.12\.(\d+) & JDK 11\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.12\.(\d+) & JDK 8\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 11\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 8\)$ | ||
|
||
|
||
pull_request_rules: | ||
- name: Merge PRs for 2.1.x branch that are ready | ||
conditions: | ||
- base==2.1.x | ||
- status-success=Travis CI - Pull Request | ||
- check-success=Check / Code Style | ||
- check-success=Check / Binary Compatibility | ||
- check-success=Check / Docs | ||
- check-success~=^Check / Tests \(Scala 2\.12\.(\d+) & JDK 11\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.12\.(\d+) & JDK 8\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 11\)$ | ||
- check-success~=^Check / Tests \(Scala 2\.13\.(\d+) & JDK 8\)$ | ||
- status-success=typesafe-cla-validator | ||
- "#approved-reviews-by>=1" | ||
- "#review-requested=0" | ||
- "#changes-requested-reviews-by=0" | ||
- label!=status:block-merge | ||
- label=status:merge-when-green | ||
actions: | ||
queue: | ||
method: merge | ||
name: 2-1-x | ||
|
||
- name: Merge PRs (except 2.1.x branch) that are ready | ||
- name: Merge PRs that are ready | ||
conditions: | ||
- base!=2.1.x | ||
- status-success=Travis CI - Pull Request | ||
- check-success=Check / Code Style | ||
- check-success=Check / Binary Compatibility | ||
- check-success=Check / Docs | ||
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need now