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

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-gao committed Jan 28, 2022
1 parent 58de5f2 commit 87fb17e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
32 changes: 4 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ jobs:
- setup_remote_docker:
docker_layer_caching: true
- run: .circleci/build.sh
- run: .cicircleci/phpunit_tests.sh
- run:
name: Run on fail status
name: Run phpunit tests and generate coverage
command: |
.circleci/phpunit_results.sh
when: always
- run: .circleci/phpunit_coverage.sh
.circleci/phpunit_tests.sh
.circleci/phpunit_coverage.sh
- run:
name: Run on fail coverage
name: Run on fail tests
command: |
.circleci/phpunit_results.sh
when: always
Expand All @@ -66,32 +64,10 @@ jobs:
- store_test_results:
path: /tmp/phpunit

# phpunit_coverage:
# <<: *job-build
# steps:
# - attach_workspace:
# at: /workspace
# - checkout
# - run: if [ -f "./dev-tools.sh" ] && [ ! "$DEV_TOOLS" ]; then ./dev-tools.sh; fi
# - setup_remote_docker:
# docker_layer_caching: true
# - run: .circleci/build.sh
# - run: .circleci/phpunit_coverage.sh
# - run:
# name: Run on fail status
# command: |
# .circleci/phpunit_results.sh
# when: always
# - store_artifacts:
# path: /tmp/phpunit
# - store_test_results:
# path: /tmp/phpunit

workflows:
version: 2
main:
jobs:
- build
- build_suggest
- phpunit_tests
# - phpunit_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function setUp() {
public function testGetNodeFrontendUrl($value, $expected) {
$url = Url::fromUri($value);
$url = $this->tideSitePreviewHelper->getNodeFrontendUrl($url);
$this->assertEquals($expected, $url->toString().'hello');
$this->assertEquals($expected, $url->toString());
}

/**
Expand Down

0 comments on commit 87fb17e

Please sign in to comment.