Skip to content

Commit

Permalink
run both smoke tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkrives committed May 6, 2024
1 parent b5d6748 commit 9f559b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm test
- run: npm run test-stolaf-college
- run: npm run test-carleton-college

lint:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"start": "node -r dotenv/config source/ccc-server/index.js",
"stolaf-college": "env INSTITUTION=stolaf-college npm start",
"carleton-college": "env INSTITUTION=carleton-college npm start",
"test": "./scripts/smoke-all.sh"
"test-stolaf-college": "./scripts/smoke-test.sh stolaf-college",
"test-carleton-college": "./scripts/smoke-test.sh stolaf-college",
"test": "npm run test-stolaf-college; npm run test-carleton-college;"
},
"dependencies": {
"@sentry/node": "^7.113.0",
Expand Down
7 changes: 0 additions & 7 deletions scripts/smoke-all.sh

This file was deleted.

0 comments on commit 9f559b0

Please sign in to comment.