Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add testing. #2

Merged
merged 4 commits into from
Apr 15, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
jobs:
build:
docker:
- image: quay.io/govcms/govcms-ci
steps:
- checkout
- run: composer validate --strict || true

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason why it is ||true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably just informative. But I think it has come from another test i copied.

- run:
name: Setup codebase
command: |
git checkout -b latest-package-"${CIRCLE_SHA1}"
git clone https://github.com/govCMS/govCMS8-scaffold-paas /app
composer --working-dir=/app config repositories.test path "/home/project"
composer --working-dir=/app update
composer --working-dir=/app require govcms/require-dev:dev-latest-package-"${CIRCLE_SHA1}" --ignore-platform-reqs
- run:
name: Test settings via drush

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misleading name

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that got copied from another test.

stooit marked this conversation as resolved.
Show resolved Hide resolved
working_directory: /app
command: |
composer info govcms/require-dev
simesy marked this conversation as resolved.
Show resolved Hide resolved

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ To use this, you can use `satis.govcms.gov.au` as a repository source, and then:
```
composer require --dev govcms/require-dev ~1
```

[![CircleCI](https://circleci.com/gh/govCMS/require-dev.svg?style=svg)](https://circleci.com/gh/govCMS/require-dev)