Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaxwilko/winter-test
A testing tool for Winter CMS
https://github.com/jaxwilko/winter-test
Last synced: 1 day ago
JSON representation
A testing tool for Winter CMS
- Host: GitHub
- URL: https://github.com/jaxwilko/winter-test
- Owner: jaxwilko
- License: mit
- Created: 2022-04-14T14:57:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T13:24:29.000Z (8 months ago)
- Last Synced: 2024-10-30T16:54:00.740Z (about 2 months ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Winter Test
This project offers a simple way to test branches against specific php versions.
### Requirements
You must have `docker`, `docker-compose` and a bash v4 compatible shell installed.
### Installation
```shell
git clone [email protected]:jaxwilko/winter-test.git
```### Execution
You can specify the branch to pull via an argument or you will be prompted to upon execution.
The PHP version defaults to `8.0`, but can be specificed via the `-p` flag.
To run a tests against php 8.1 & the develop branch:
```shell
./main.sh -p 8.1 -b develop
```
To run a tests against php 8.0 & the 1.1 branch:
```shell
./main.sh -p 8.0 -b 1.1
```
To run tests against the default PHP version and be prompted for the branch
```shell
./main.sh
```