mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Build before running integration tests.
This commit is contained in:
parent
b3d381bfa7
commit
7ee1e39b8d
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user