Skip to content

Commit

Permalink
Experiment with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Olafur Pall Geirsson committed Sep 23, 2019
1 parent 9247f2d commit fed03fd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 116 deletions.
38 changes: 26 additions & 12 deletions .github/workflows/ci.yml
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 }}'
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

38 changes: 0 additions & 38 deletions appveyor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit fed03fd

Please sign in to comment.