Skip to content

Commit d56f2b3

Browse files
committed
Use GithubActions instead of Travis/Appveyor
Fix arch Install latest eslint Adding postinstall.js Add npm/apm install Add typescript to deps Using latest node + using ci only Fix space before OS Fix syntax up
1 parent d115d82 commit d56f2b3

File tree

5 files changed

+161
-237
lines changed

5 files changed

+161
-237
lines changed

.github/workflows/ci.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
6+
jobs:
7+
Test:
8+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
9+
name: Julia ${{ matrix.julia_version }} - ${{ matrix.os }} - ${{ matrix.arch }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
aom_channel: [stable, beta]
19+
julia-version: ["1.3", "nightly"]
20+
arch: ["x64"]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: UziTech/action-setup-atom@v1
24+
with:
25+
channel: ${{ matrix.atom-channel }}
26+
- uses: julia-actions/setup-julia@latest
27+
with:
28+
version: ${{ matrix.julia_version }}
29+
arch: ${{ matrix.arch }}
30+
- name: Versions
31+
run: |
32+
julia -v
33+
atom -v
34+
apm -v
35+
npm -v
36+
- name: Install APM dependencies
37+
run: |
38+
apm ci # uses locked module. use `apm install` for non-locked
39+
node script/postinstall.js
40+
- name: Julia CI
41+
run: julia -e 'include("ci/packages.jl")'
42+
shell: bash
43+
- name: Run tests 👩🏾‍💻
44+
run: atom --test spec
45+
46+
Lint:
47+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
48+
runs-on: ubuntu-latest
49+
steps:
50+
- uses: actions/checkout@v2
51+
- uses: actions/setup-node@v1
52+
with:
53+
node-version: "13.x"
54+
- name: Install NPM dependencies
55+
run: |
56+
npm ci # uses locked module. use `npm install` for non-locked
57+
- name: Lint ✨
58+
run: npm run lint
59+
60+
Skip:
61+
if: contains(github.event.head_commit.message, '[skip ci]')
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Skip CI 🚫
65+
run: echo skip ci

.travis.yml

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

appveyor.yml

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

0 commit comments

Comments
 (0)