Skip to content

Commit 74c56ea

Browse files
committed
Workflow env var
1 parent e5707ea commit 74c56ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
pull_request:
1010
branches: [ master, develop ]
1111

12+
env:
13+
DOTENV_CONFIG_PATH: ./test/fixtures/.env.test
14+
1215
jobs:
1316
build:
1417
name: build ${{ matrix.os }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "A small set of modules written in Node.js for running automated tests of MATLAB and Python code in response to GitHub events. Also submits code coverage to the Coveralls API.",
55
"main": "main.js",
66
"scripts": {
7-
"test": "mocha -r dotenv/config ./test dotenv_config_path=./test/fixtures/.env.test",
7+
"test": "mocha -r dotenv/config ./test",
88
"coverage": "nyc npm run test",
99
"start": "node -r dotenv/config main.js"
1010
},

0 commit comments

Comments
 (0)