Skip to content

Commit

Permalink
Use GithubActions instead of Travis/Appveyor
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aminya committed Apr 13, 2020
1 parent 28c034e commit 22ae3d3
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 80 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: CI
on:
- push
- pull_request

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
name: Julia ${{ matrix.julia_version }} - ${{ matrix.os }} - ${{ matrix.arch }} - Atom ${{ matrix.atom_channel }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
atom_channel: [stable] # beta
julia_version: ["1", "nightly"]
arch: ["x64"]
steps:
- uses: actions/checkout@v2
- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.atom_channel }}
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.julia_version }}
arch: ${{ matrix.arch }}
- name: Versions
run: |
julia -v
apm -v
- name: Install APM dependencies
run: |
apm ci # uses locked module. use `apm install` for non-locked
apm install ink language-julia
node script/postinstall.js
- name: Julia CI
run: julia -e 'include("ci/packages.jl")'
shell: bash
# - name: Run tests 👩🏾‍💻
# run: atom --test spec

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "13.x"
- name: Install NPM dependencies
run: |
npm ci # uses locked module. use `npm install` for non-locked
- name: Lint ✨
run: npm run lint

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
52 changes: 0 additions & 52 deletions .travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions appveyor.yml

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,20 @@
"atom": ">=1.39.0 <2.0.0"
},
"dependencies": {
"atom-package-deps": "*",
"atom-package-deps": "latest",
"atom-space-pen-views": "^2.0.0",
"etch": "^0.14",
"fuzzaldrin-plus": "^0.6.0",
"node-pty-prebuilt-multiarch": "0.9.0",
"object-hash": "^2.0.3",
"physical-cpu-count": "*",
"physical-cpu-count": "latest",
"semver": "^6.3.0",
"ssh2": "^0.8.4",
"underscore-plus": "*"
"underscore-plus": "latest"
},
"devDependencies": {
"typescript": "^3.8.3",
"coffeescript": "^2.5.1",
"@types/atom": "^1.40.1",
"@types/fuzzaldrin-plus": "^0.6.0",
"@types/object-hash": "^1.3.1",
Expand All @@ -47,7 +49,6 @@
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"babel-eslint": "latest",
"coffeescript": "latest",
"eslint-plugin-coffee": "latest",
"eslint-plugin-json": "latest",
"eslint-plugin-only-warn": "latest",
Expand Down

0 comments on commit 22ae3d3

Please sign in to comment.