forked from JunoLab/atom-julia-client
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
69 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters