Skip to content

Commit

Permalink
Reactivate acceptance tests for errors cases
Browse files Browse the repository at this point in the history
require-tests: true

Fix typo

Fix workflow

require-tests: true
  • Loading branch information
fchauvel committed Nov 4, 2019
1 parent f6c2453 commit 32d160e
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,28 @@ jobs:
paths:
- .coverage_python

tests_errors:
machine:
image: circleci/classic:201808-01
steps:
- attach_workspace:
at: ./
- run: |
docker load -i camp-ci.tar
- run:
no_output_timeout: 30m
command: |
docker run --name tests_python \
-v /var/run/docker.sock:/var/run/docker.sock \
-t camp:ci \
/bin/bash -c "green -qrfvv -s 1 tests.acceptance.test_errors"
- run: |
docker cp tests_python:/camp/.coverage .coverage_errors
- persist_to_workspace:
root: ./
paths:
- .coverage_errors


coverage:
machine:
Expand All @@ -103,7 +125,7 @@ jobs:
docker load -i camp-ci.tar
- run: |
pip install coverage codacy-coverage
coverage combine .coverage_main .coverage_java .coverage_python
coverage combine .coverage_main .coverage_java .coverage_python .coverage_errors
docker run --name coverage \
-v $(pwd):/reports \
-t camp:ci \
Expand Down Expand Up @@ -158,16 +180,21 @@ workflows:
- tests_python:
requires:
- build
- tests_errors:
requires:
- build
- coverage:
requires:
- tests_main
- tests_python
- tests_java
- tests_errors
- publish:
requires:
- tests_main
- tests_python
- tests_java
- tests_errors
filters:
branches:
only: master

0 comments on commit 32d160e

Please sign in to comment.