-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
345 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
patreon: ortussolutions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
--- | ||
|
||
<!-- Thanks for reporting an issue! Please fill out the blanks below. --> | ||
|
||
## What are the steps to reproduce this issue? | ||
|
||
1. … | ||
2. … | ||
3. … | ||
|
||
## What happens? | ||
|
||
… | ||
|
||
## What were you expecting to happen? | ||
|
||
… | ||
|
||
## Any logs, error output, etc? | ||
|
||
… | ||
|
||
## Any other comments? | ||
|
||
… | ||
|
||
## What versions are you using? | ||
|
||
**Operating System:** … | ||
**Package Version:** … |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
name: Feature Request | ||
about: Request a new feature or enhancement | ||
--- | ||
|
||
<!-- Thanks for taking the time to recommend a feature! Please fill out the form below --> | ||
|
||
## Summary | ||
|
||
<!-- High level description of what this feature is --> | ||
|
||
## Detailed Description | ||
|
||
<!-- Lets get into the weeds here --> | ||
|
||
## Possible Implementation Ideas | ||
|
||
<!-- If you already have some idea of how to implement this, this would be the place to put it --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Description | ||
|
||
Please include a summary of the changes and which issue(s) is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. | ||
|
||
**Please note that all PRs must have tests attached to them** | ||
|
||
IMPORTANT: Please review the [CONTRIBUTING.md](../CONTRIBUTING.md) file for detailed contributing guidelines. | ||
|
||
## Issues | ||
|
||
All PRs must have an accompanied issue. Please make sure you created it and linked it here. | ||
|
||
## Type of change | ||
|
||
Please delete options that are not relevant. | ||
|
||
- [ ] Bug Fix | ||
- [ ] Improvement | ||
- [ ] New Feature | ||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
- [ ] This change requires a documentation update | ||
|
||
## Checklist | ||
|
||
- [ ] My code follows the style guidelines of this project [cfformat](../.cfformat.json) | ||
- [ ] I have commented my code, particularly in hard-to-understand areas | ||
- [ ] I have made corresponding changes to the documentation | ||
- [ ] I have added tests that prove my fix is effective or that my feature works | ||
- [ ] New and existing unit tests pass locally with my changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Publish Github Release | ||
name: Github Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- v[0-9]+.* | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: taiki-e/[email protected] | ||
with: | ||
# Produced by the build/Build.cfc | ||
changelog: changelog.md | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,67 +6,23 @@ on: | |
- "main" | ||
- "master" | ||
- "development" | ||
- "v*" | ||
pull_request: | ||
branches: | ||
- "v*" | ||
- development | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: "adopt" | ||
java-version: "11" | ||
|
||
- name: Setup CommandBox | ||
uses: elpete/[email protected] | ||
|
||
- name: Install Dependencies | ||
run: | | ||
box install | ||
uses: ./.github/workflows/tests.yml | ||
|
||
- name: Run Tests | ||
run: | | ||
# Create the CommandBox modules folder, for some reason it is not created | ||
mkdir -p ~/.CommandBox/cfml/modules | ||
# Link up the module so we can do testing! | ||
box link --force | ||
# Test | ||
box task run taskfile=build/Build target="runTests" | ||
- name: Failure Logs | ||
if: failure() | ||
run: cat `box system-log` | ||
|
||
format: | ||
name: Format | ||
formatCheck: | ||
name: Checks Source Code Formatting | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v2 | ||
with: | ||
distribution: "adopt" | ||
java-version: "11" | ||
|
||
- name: Set Up CommandBox | ||
uses: elpete/[email protected] | ||
|
||
- name: Install CFFormat | ||
run: box install commandbox-cfformat | ||
|
||
- name: Run CFFormat | ||
run: box run-script format | ||
uses: actions/[email protected] | ||
|
||
- name: Commit Format Changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
- uses: Ortus-Solutions/[email protected] | ||
with: | ||
commit_message: Apply cfformat changes | ||
cmd: run-script format:check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Test Suites | ||
|
||
# We are a reusable Workflow only | ||
on: | ||
workflow_call: | ||
secrets: | ||
SLACK_WEBHOOK_URL: | ||
required: true | ||
|
||
jobs: | ||
tests: | ||
name: Tests | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/[email protected] | ||
|
||
- name: Setup Java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: "temurin" | ||
java-version: "11" | ||
|
||
- name: Setup CommandBox CLI | ||
uses: Ortus-Solutions/[email protected] | ||
|
||
# Not Needed in this module | ||
#- name: Setup Environment For Testing Process | ||
# working-directory: ./test-harness | ||
# run: | | ||
# # Setup .env | ||
# touch .env | ||
# # ENV | ||
# printf "DB_HOST=localhost\n" >> .env | ||
# printf "DB_DATABASE=mydatabase\n" >> .env | ||
# printf "DB_DRIVER=MySQL\n" >> .env | ||
# printf "DB_USER=${{ env.DB_USER }}\n" >> .env | ||
# printf "DB_PASSWORD=${{ env.DB_PASSWORD }}\n" >> .env | ||
# printf "DB_CLASS=com.mysql.cj.jdbc.Driver\n" >> .env | ||
# printf "DB_BUNDLEVERSION=8.0.19\n" >> .env | ||
# printf "DB_BUNDLENAME=com.mysql.cj\n" >> .env | ||
|
||
- name: Install Test Harness Dependencies | ||
run: | | ||
box install | ||
- name: Run Tests | ||
run: | | ||
# Create the CommandBox modules folder, for some reason it is not created | ||
mkdir -p ~/.CommandBox/cfml/modules | ||
# Link up the module so we can do testing! | ||
box link --force | ||
# Test | ||
box task run taskfile=build/Build target="runTests" | ||
- name: Failure Logs | ||
if: failure() | ||
run: cat `box system-log` |
Oops, something went wrong.