Skip to content

Commit bffe6e7

Browse files
committed
Migrate the CI to GitHub Actions.
1 parent d036567 commit bffe6e7

File tree

2 files changed

+30
-31
lines changed

2 files changed

+30
-31
lines changed

.github/workflows/ci.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
scalaversion: ["2.11.12", "2.12.11", "2.13.2"]
16+
project: ["scalajs-js-envs", "scalajs-js-envs-test-kit", "scalajs-env-nodejs"]
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: olafurpg/setup-scala@v10
20+
with:
21+
java-version: "[email protected]"
22+
- uses: coursier/cache-action@v5
23+
- name: Test
24+
run: sbt "++${{ matrix.scalaversion }}" ${{ matrix.project }}/test
25+
- name: Doc generation
26+
run: sbt "++${{ matrix.scalaversion }}" ${{ matrix.project }}/doc
27+
- name: MiMa
28+
run: sbt "++${{ matrix.scalaversion }}" ${{ matrix.project }}/mimaReportBinaryIssues
29+
- name: Header check
30+
run: sbt "++${{ matrix.scalaversion }}" ${{ matrix.project }}/headerCheck ${{ matrix.project }}/test:headerCheck

.travis.yml

-31
This file was deleted.

0 commit comments

Comments
 (0)