mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
b9fa786df6
This refactoring aims to ease testability and clean up a lot of soft touchy typings in test code. This is the first step of this refactoring introducing the concept and implementing missing interfaces and stubs. At the end of the day, ServerVariablesHandler should completely disappear and every variable should be injected in the endpoint handler builder itself.
22 lines
350 B
Bash
Executable File
22 lines
350 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
docker --version
|
|
docker-compose --version
|
|
|
|
# Generate configuration schema
|
|
grunt schema
|
|
|
|
# Run unit tests
|
|
grunt test-unit
|
|
|
|
# Build the app from Typescript and package
|
|
grunt build-dist
|
|
|
|
# Run integration/example tests
|
|
./scripts/integration-tests.sh
|
|
|
|
# Test npm deployment before actual deployment
|
|
./scripts/npm-deployment-test.sh
|