Skip to content

Commit 87a2b63

Browse files
committed
Migrate the CI to GitHub Actions.
1 parent 5c0d946 commit 87a2b63

File tree

3 files changed

+29
-30
lines changed

3 files changed

+29
-30
lines changed

.github/workflows/nightly.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Nightly
2+
on:
3+
push:
4+
branches:
5+
- master
6+
schedule:
7+
- cron: '0 2 * * *' # run at 2 AM UTC
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
scalabranch: ["2.11.x", "2.12.x", "2.13.x"]
15+
scalajsbranch: ["master"]
16+
env:
17+
SCALA_BRANCH: "${{ matrix.scalabranch }}"
18+
SCALAJS_BRANCH: "master"
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: olafurpg/setup-scala@v10
22+
with:
23+
java-version: "[email protected]"
24+
- uses: coursier/cache-action@v5
25+
- name: Node.js version
26+
run: node -v
27+
- name: Test
28+
run: ./run.sh "${{ matrix.scalabranch }}" "${{ matrix.scalajsbranch }}"

.travis.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Testing Scala.js against the nightly builds of Scala
22

3-
[![Build Status](https://travis-ci.org/scala-js/scala-js-test-scala-nightly.svg?branch=master)](https://travis-ci.org/scala-js/scala-js-test-scala-nightly)
3+
[![Build Status](https://github.com/scala-js/scala-js-test-scala-nightly/actions/workflows/nightly.yml/badge.svg)](https://github.com/scala-js/scala-js-test-scala-nightly/actions)
44

55
This repository runs nightly tests of Scala.js against the nightly builds of Scala.

0 commit comments

Comments
 (0)