Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Restore step: remove empty test files
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Jun 6, 2018
1 parent 9a0fce2 commit 4490295
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2
jobs:
build:
parallelism: 5
parallelism: 6
docker:
- image: ubuntu:16.04
working_directory: /go/src/github.com/dkan_starter
Expand Down Expand Up @@ -41,6 +41,15 @@ jobs:
name: Install CircleCI CLI
command: |
curl -o /usr/local/bin/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci && chmod +x /usr/local/bin/circleci
- run:
name: Remove empty test files
command: |
# These files have no tests after the flags we apply.
FILES="dataset.admin.feature panels.feature leaflet_draw_widget.feature page.editor.feature resource.editor.feature theme.admin.feature dataset.author.feature datastore_fast_import.feature widgets.feature resource.admin.feature dataset.editor.feature user.site_manager.feature datastore.feature topics.feature dataset_rest_api.feature resource.author.feature user.author.feature"
for file in $FILES
do
rm dkan/test/features/$file
done
- run:
name: Start containers
command: |
Expand Down Expand Up @@ -89,4 +98,3 @@ jobs:
docker cp $(docker-compose ps -q cli):/var/www/tests/assets artifacts
- store_artifacts:
path: /go/src/github.com/dkan_starter/artifacts

0 comments on commit 4490295

Please sign in to comment.