Add a normal file before the test run otherwise all add_file
s fail
#2094
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 Docker Image Build & Deploy | |
on: | |
push: | |
branches: | |
- main | |
- workflowhub | |
- ruby-3.2 | |
- ruby-3.3 | |
- full-test-suite | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create volumes | |
run: | | |
docker volume create --name=seek-filestore | |
docker volume create --name=seek-mysql-db | |
docker volume create --name=seek-solr-data | |
docker volume create --name=seek-cache | |
- name: Build and run the Docker containers | |
run: docker compose --file docker-compose.yml --file docker-compose.build.yml up --build --detach --wait | |
continue-on-error: true | |
- name: Wait and check containers | |
run: sleep 120 && docker ps -a | |
continue-on-error: true | |
- name: Check app status | |
run: ruby script/check_deployment.rb |