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 GitHub Action to run testbox through commandbox on push and pr #544

Merged
merged 10 commits into from
May 22, 2024
Merged
Changes from all 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
41 changes: 41 additions & 0 deletions .github/workflows/fw1_java11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: fw1 Java 11

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
test:
strategy:
matrix:
engine: [ lucee@5, adobe@2023, adobe@2021, adobe@2018, adobe@2016 ]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'

- name: Install the ortus security key
run: curl -fsSl https://downloads.ortussolutions.com/debs/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/ortussolutions.gpg > /dev/null

- name: Add the commandbox source
run: echo "deb [signed-by=/usr/share/keyrings/ortussolutions.gpg] https://downloads.ortussolutions.com/debs/noarch /" | sudo tee /etc/apt/sources.list.d/commandbox.list

- name: Update apt and install commandbox
run: sudo apt-get update && sudo apt-get install apt-transport-https commandbox

- name: Install dependencies
run: box install

- name: Start the ${{ matrix.engine }} CFML engine
run: box server start cfengine=${{ matrix.engine }} port=8500 openbrowser=false

- name: Run test
run: box testbox run reporter=mintext
Loading