Test curl without other steps #23
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: Cucumber Tests | |
on: push | |
jobs: | |
docker-setup: | |
name: Set up Docker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Docker | |
run: | | |
docker compose -f docker-compose.yml up --detach | |
sleep 120 | |
cucumber: | |
name: Run Cucmber Tests | |
runs-on: ubuntu-latest | |
needs: docker-setup | |
steps: | |
- name: Wait | |
run: sleep 20 | |
- name: Run tests | |
run: curl http://localhost:8080 |