Run on the same job #50
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: | ||
cucumber: | ||
Check failure on line 5 in .github/workflows/cucumber-tests.yml
|
||
name: Run Cucmber Tests | ||
runs-on: ubuntu-latest | ||
needs: docker-setup | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Set up Docker | ||
run: | | ||
docker compose -f docker-compose.yml up --detach | ||
docker inspect --format='{{json .State.Health}}' archivesspace | ||
docker ps -a | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.0' | ||
- name: Cache gems # You can cache your gems to make the workflow run faster | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: Install gems | ||
run: | | ||
bundle config path vendor/bundle | ||
bundle install --jobs 4 --retry 3 | ||
- name: Run tests | ||
run: | | ||
curl -I http://0.0.0.0:8080 |