Skip to content

Commit

Permalink
Try running the tests using Atom snap
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 7, 2021
1 parent 9754878 commit d2edf87
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ jobs:
node_arch: x86
- os: ubuntu-16.04
node_version: 12
- os: ubuntu-latest
node_version: 12
snap: true
- os: macos-10.15
node_version: 12
steps:
Expand All @@ -115,6 +118,10 @@ jobs:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.node_arch }}

- name: Setup Atom snap
if: ${{ contains(matrix.snap, 'true') }}
run: sudo snap install atom --channel stable/fix-65 --classic

- name: Install dependencies only
run: |
npm install --ignore-scripts
Expand All @@ -134,6 +141,10 @@ jobs:
- name: Run tests
run: npm run test

- name: Run tests using Atom
if: ${{ contains(matrix.snap, 'true') }}
run: atom --test spec

- name: Run benchmarks
if: ${{ !contains(matrix.node_arch, 'x86') }} # https://github.com/npm/npm-lifecycle/issues/54
run: npm run benchmark
Expand Down

0 comments on commit d2edf87

Please sign in to comment.