Pull in earlier config files #248
Workflow file for this run
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: Ensure Docker container for Ruby can build successfully | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
types: ['opened', 'reopened', 'synchronize', 'unlocked'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build Images | |
working-directory: ./ | |
run: | | |
docker compose build | |
- name: Run containers | |
working-directory: ./ | |
run: | | |
docker compose up --wait | |
- name: Curl web page | |
working-directory: ./ | |
run: | | |
curl -X GET http://localhost:3000 |