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
|
# Run unit tests
|
||||||
authelia-scripts unittest
|
authelia-scripts unittest
|
||||||
|
|
||||||
# Run integration tests
|
|
||||||
authelia-scripts test --headless test/suites/**/*.ts
|
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
authelia-scripts build
|
authelia-scripts build
|
||||||
|
|
||||||
|
# Run integration tests
|
||||||
|
authelia-scripts test --headless test/suites/**/*.ts
|
||||||
|
|
||||||
# Test npm deployment before actual deployment
|
# Test npm deployment before actual deployment
|
||||||
# ./scripts/npm-deployment-test.sh
|
# ./scripts/npm-deployment-test.sh
|
||||||
|
|
|
@ -11,8 +11,8 @@ export default function WithAutheliaRunning(configPath: string, waitTimeout: num
|
||||||
['serve', '--no-watch', '--config', configPath],
|
['serve', '--no-watch', '--config', configPath],
|
||||||
{detached: true});
|
{detached: true});
|
||||||
|
|
||||||
authelia.on('exit', function() {
|
authelia.on('exit', function(status) {
|
||||||
console.log('Server terminated.');
|
console.log('Server terminated with status ' + status);
|
||||||
});
|
});
|
||||||
this.authelia = authelia;
|
this.authelia = authelia;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user