Skip to content

Commit c302c83

Browse files
committed
Try running the tests using Atom snap
1 parent 9754878 commit c302c83

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/CI.yml

+11
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ jobs:
9595
node_arch: x86
9696
- os: ubuntu-16.04
9797
node_version: 12
98+
- os: ubuntu-latest
99+
node_version: 12
100+
snap: true
98101
- os: macos-10.15
99102
node_version: 12
100103
steps:
@@ -115,6 +118,10 @@ jobs:
115118
node-version: ${{ matrix.node_version }}
116119
architecture: ${{ matrix.node_arch }}
117120

121+
- name: Setup Atom snap
122+
if: ${{ contains(matrix.snap, 'true') }}
123+
run: snap install atom --channel stable/fix-65
124+
118125
- name: Install dependencies only
119126
run: |
120127
npm install --ignore-scripts
@@ -134,6 +141,10 @@ jobs:
134141
- name: Run tests
135142
run: npm run test
136143

144+
- name: Run tests using Atom
145+
if: ${{ contains(matrix.snap, 'true') }}
146+
run: atom --test spec
147+
137148
- name: Run benchmarks
138149
if: ${{ !contains(matrix.node_arch, 'x86') }} # https://github.com/npm/npm-lifecycle/issues/54
139150
run: npm run benchmark

0 commit comments

Comments
 (0)