Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 4d381a1

Browse files
authored
Merge pull request #197 from rust-lang/test
2 parents a11b70b + 5ca1779 commit 4d381a1

13 files changed

+4123
-3131
lines changed

.eslintrc.js

-24
This file was deleted.

.eslintrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "eslint-config-atomic",
3+
"ignorePatterns": ["dist/", "node_modules/"]
4+
}

.gitattributes

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto
2+
3+
# don't diff machine generated files
4+
dist/ -diff
5+
package-lock.json -diff

.github/workflows/CI.yml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
Test:
10+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
11+
name: ${{ matrix.os }} - Atom ${{ matrix.atom_channel }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- macos-latest
19+
- windows-latest
20+
atom_channel: [stable]
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: UziTech/action-setup-atom@v1
24+
with:
25+
channel: ${{ matrix.atom_channel }}
26+
27+
- uses: actions/setup-node@v2
28+
with:
29+
node-version: "12.x"
30+
31+
- name: Install dependencies
32+
run: |
33+
apm install --production
34+
npm install --only=dev
35+
36+
# - name: Run tests 👩🏾‍💻
37+
# run: npm run lint
38+
39+
Lint:
40+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
41+
name: ${{ matrix.os }} - Atom ${{ matrix.atom_channel }}
42+
runs-on: ${{ matrix.os }}
43+
strategy:
44+
fail-fast: false
45+
matrix:
46+
os:
47+
- ubuntu-latest
48+
steps:
49+
- uses: actions/checkout@v2
50+
51+
- uses: actions/setup-node@v2
52+
with:
53+
node-version: "12.x"
54+
55+
- name: Install dependencies
56+
run: npm install
57+
58+
- name: Run tests 👩🏾‍💻
59+
run: npm run test.lint

.npmrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public-hoist-pattern[]=*
2+
package-lock=false
3+
lockfile=true
4+
prefer-frozen-lockfile=false

.travis.yml

-7
This file was deleted.

0 commit comments

Comments
 (0)