Skip to content

Commit

Permalink
Bump resource class and JUnit in CI (10.x) (drush-ops#4855)
Browse files Browse the repository at this point in the history
* Junit in CI

* typo

* typo
  • Loading branch information
weitzman committed Oct 9, 2021
1 parent 743487a commit 91565cd
Showing 1 changed file with 24 additions and 9 deletions.
33 changes: 24 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
defaults: &defaults
working_directory: ~/drush
resource_class: large
environment:
TZ: "/usr/share/zoneinfo/America/Los_Angeles"
TERM: dumb
Expand All @@ -18,11 +19,16 @@ test_71_steps: &test71steps
- checkout
- run: cp .docker/zz-php.ini /usr/local/etc/php/conf.d/
- run: composer install -n
- run: mkdir -p /tmp/results
- run: composer lint
- run: composer unit
- run: composer functional
- run: composer unit -- --log-junit /tmp/results/unit.junit.xml
- run: composer functional -- --log-junit /tmp/results/functional.junit.xml
# @todo was getting missing key_value table failure when this comes before functional. See https://circleci.com/gh/drush-ops/drush/8828.
- run: composer integration
- run: composer integration -- --log-junit /tmp/results/integration.junit.xml
- store_test_results:
path: /tmp/results
- store_artifacts:
path: /tmp/results

version: 2.1
jobs:
Expand Down Expand Up @@ -126,9 +132,13 @@ jobs:
- run: composer config platform.php 7.3.23
- run: composer update
- run: composer lint
- run: composer unit
- run: composer functional
- run: composer integration
- run: composer unit -- --log-junit /tmp/results/unit.junit.xml
- run: composer functional -- --log-junit /tmp/results/functional.junit.xml
- run: composer integration -- --log-junit /tmp/results/integration.junit.xml
- store_test_results:
path: /tmp/results
- store_artifacts:
path: /tmp/results


# PHP 8 test with Drupal tip
Expand All @@ -153,9 +163,14 @@ jobs:
- run: composer update
- run: composer info composer/semver
- run: composer lint
- run: composer unit
- run: composer functional
- run: composer integration
- run: mkdir -p /tmp/results
- run: composer unit -- --log-junit /tmp/results/unit.junit.xml
- run: composer functional -- --log-junit /tmp/results/functional.junit.xml
- run: composer integration -- --log-junit /tmp/results/integration.junit.xml
- store_test_results:
path: /tmp/results
- store_artifacts:
path: /tmp/results

workflows:
version: 2
Expand Down

0 comments on commit 91565cd

Please sign in to comment.