Skip to content

Commit

Permalink
Merge pull request #1239 from datacite/ci-fail-early
Browse files Browse the repository at this point in the history
Ci fail early
  • Loading branch information
jrhoads authored Sep 10, 2024
2 parents c9642cf + 04d55b1 commit 46a6e6a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/parallel_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ jobs:
CI_NODE_INDEX: ${{ matrix.ci_node_index }}
RAILS_ENV: test
run: |
bundle exec parallel_test spec/ -n $CI_NODE_TOTAL --only-group $CI_NODE_INDEX --type rspec
bundle exec parallel_test spec/ -n $CI_NODE_TOTAL --only-group $CI_NODE_INDEX --type rspec -o "--fail-fast"
echo $?
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
lint:
uses: ./.github/workflows/rubocop.yml
parallel-test:
needs: lint
uses: ./.github/workflows/parallel_ci.yml
secrets: inherit
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM phusion/passenger-full:2.5.1
LABEL maintainer="[email protected]"

# Set correct environment variables.
ENV HOME /home/app
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
web:
build: .
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
web:
env_file: .env
Expand Down

0 comments on commit 46a6e6a

Please sign in to comment.