Test Web application authentication developer setup #232
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Web application authentication developer setup | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '42 22 * * 0' | |
jobs: | |
test-docker-compose: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- run: | | |
set -e | |
echo -e "dockremap:$( id -u ):1\ndockremap:200001:65535" | sudo tee -a /etc/subuid | |
echo -e "dockremap:$( id -g ):1\ndockremap:200001:65535" | sudo tee -a /etc/subgid | |
echo '{ "userns-remap": "default" }' | sudo tee /etc/docker/daemon.json | |
sudo systemctl restart docker | |
- run: docker-compose version | |
- run: make build | |
- run: make build COMPOSE=docker-compose.yml.www-with-app | |
- run: make run | |
- run: make test | |
- run: docker-compose down | |
- run: make run | |
- run: make test | |
- run: docker-compose down | |
- run: make run COMPOSE=docker-compose.yml.www-with-app | |
- run: make test |