-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Olafur Pall Geirsson
committed
Sep 23, 2019
1 parent
9247f2d
commit fed03fd
Showing
4 changed files
with
26 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
name: CI | ||
|
||
on: [push] | ||
|
||
on: [push, pull_request] | ||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: olafurpg/setup-scala@v2 | ||
- name: Formatting | ||
run: ./bin/scalafmt --test | ||
- name: Scalafix | ||
run: csbt scalafixCheck | ||
- name: Documentation | ||
run: csbt docs/docusaurusCreateSite | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
command: | ||
- "slow/testOnly tests.sbt" | ||
- "slow/testOnly tests.mill" | ||
- "slow/testOnly tests.gradle" | ||
- "slow/testOnly tests.maven" | ||
- "slow/testOnly tests.feature" | ||
- "unit/test" | ||
- "+cross/test" | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Run a one-line script | ||
run: echo Hello, world! | ||
- name: Run a multi-line script | ||
run: | | ||
echo Add other actions to build, | ||
echo test, and deploy your project. | ||
- uses: actions/checkout@v1 | ||
- uses: olafurpg/setup-scala@v2 | ||
- name: Compile | ||
run: csbt '${{ matrix.command }}' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.