Skip to content

Commit b61e7b7

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 fix atom-channel Update ci.yml Disable run tests Add apm install ink and language-julia Simplify versions Remove apm install from Lint latest atom-setup UziTech/action-setup-atom@1 UziTech/action-setup-atom@v1 julia_version
1 parent 1982483 commit b61e7b7

File tree

4 files changed

+69
-80
lines changed

4 files changed

+69
-80
lines changed

.github/workflows/ci.yml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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 }} - Atom ${{ matrix.atom_channel }}
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+
atom_channel: [stable] # beta
19+
julia_version: ["1", "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+
apm -v
34+
- name: Install APM dependencies
35+
run: |
36+
apm ci # uses locked module. use `apm install` for non-locked
37+
apm install ink language-julia
38+
node script/postinstall.js
39+
- name: Julia CI
40+
run: julia -e 'include("ci/packages.jl")'
41+
shell: bash
42+
# - name: Run tests 👩🏾‍💻
43+
# run: atom --test spec
44+
45+
Lint:
46+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
47+
runs-on: ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
- uses: actions/setup-node@v1
51+
with:
52+
node-version: "13.x"
53+
- name: Install NPM dependencies
54+
run: |
55+
npm ci # uses locked module. use `npm install` for non-locked
56+
- name: Lint ✨
57+
run: npm run lint
58+
59+
Skip:
60+
if: contains(github.event.head_commit.message, '[skip ci]')
61+
runs-on: ubuntu-latest
62+
steps:
63+
- name: Skip CI 🚫
64+
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.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,20 @@
2525
"atom": ">=1.39.0 <2.0.0"
2626
},
2727
"dependencies": {
28-
"atom-package-deps": "*",
28+
"atom-package-deps": "latest",
2929
"atom-space-pen-views": "^2.0.0",
3030
"etch": "^0.14",
3131
"fuzzaldrin-plus": "^0.6.0",
3232
"node-pty-prebuilt-multiarch": "0.9.0",
3333
"object-hash": "^2.0.3",
34-
"physical-cpu-count": "*",
34+
"physical-cpu-count": "latest",
3535
"semver": "^6.3.0",
3636
"ssh2": "^0.8.4",
37-
"underscore-plus": "*"
37+
"underscore-plus": "latest"
3838
},
3939
"devDependencies": {
40+
"typescript": "^3.8.3",
41+
"coffeescript": "^2.5.1",
4042
"@types/atom": "^1.40.1",
4143
"@types/fuzzaldrin-plus": "^0.6.0",
4244
"@types/object-hash": "^1.3.1",
@@ -47,7 +49,6 @@
4749
"@typescript-eslint/eslint-plugin": "latest",
4850
"@typescript-eslint/parser": "latest",
4951
"babel-eslint": "latest",
50-
"coffeescript": "latest",
5152
"eslint-plugin-coffee": "latest",
5253
"eslint-plugin-json": "latest",
5354
"eslint-plugin-only-warn": "latest",

0 commit comments

Comments
 (0)