Skip to content

Commit

Permalink
chore: add samples test to circleci.
Browse files Browse the repository at this point in the history
  • Loading branch information
neverendingqs committed Dec 30, 2021
1 parent 3ece2c1 commit 53a4140
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Expand Up @@ -30,6 +30,12 @@ jobs:
paths:
- node_modules

samples-test:
executor: node
steps:
- *attach_workspace
- run: npm run test:samples

test:
executor: node
steps:
Expand Down Expand Up @@ -60,6 +66,9 @@ workflows:
build-test-deploy:
jobs:
- build
- samples-test:
requires:
- build
- test:
requires:
- build
Expand Down
1 change: 0 additions & 1 deletion test/samples/basic.test.js
@@ -1,7 +1,6 @@
const spawn = require('cross-spawn');

const { expect } = require('chai');
const sinon = require('sinon');

describe('samples/basic', function() {
['2'].forEach(slsVersion => {
Expand Down

0 comments on commit 53a4140

Please sign in to comment.