Build before running integration tests.

This commit is contained in:
Clement Michaud 2019-02-23 23:27:34 +01:00
parent b3d381bfa7
commit 7ee1e39b8d
2 changed files with 5 additions and 5 deletions

View File

@ -12,11 +12,11 @@ echo "npm `npm -v`"
# Run unit tests
authelia-scripts unittest
# Run integration tests
authelia-scripts test --headless test/suites/**/*.ts
# Build
authelia-scripts build
# Run integration tests
authelia-scripts test --headless test/suites/**/*.ts
# Test npm deployment before actual deployment
# ./scripts/npm-deployment-test.sh

View File

@ -11,8 +11,8 @@ export default function WithAutheliaRunning(configPath: string, waitTimeout: num
['serve', '--no-watch', '--config', configPath],
{detached: true});
authelia.on('exit', function() {
console.log('Server terminated.');
authelia.on('exit', function(status) {
console.log('Server terminated with status ' + status);
});
this.authelia = authelia;