Skip to content

Commit

Permalink
Add action support
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Jul 25, 2024
1 parent 61746f3 commit 90cd7c0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Run Regression Testing

on: workflow_dispatch

jobs:
run_regression_test:
runs-on: ubuntu-latest

strategy:
matrix:
release: ["3.26.4","3.26.3","3.26.2","3.26.1","3.26.0","3.25.1","3.25.0","3.24.4","3.24.3","3.24.2","3.24.1","3.24.0","3.23.1","3.23.0","3.22.0","3.21.0","3.20.0"]
fail-fast: false

steps:
- uses: actions/checkout@v2

- name: Checkout Local Plugins
uses: actions/checkout@v2
with:
repository: beer-garden/example-plugins
path: ./regression_test/data/localplugins

- name: Run Regression Tests
run: ./regression_test/regression_test.sh ${{ matrix.release }}

- name: Upload JMeter Results
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.release }}-logs
path: ./regression_test/*.log
if-no-files-found: error


4 changes: 2 additions & 2 deletions regression_test/regression_test.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

## All of the versions to test
versions=("3.26.4" "3.26.3" "3.26.2" "3.26.1" "3.26.0" "3.25.1" "3.25.0" "3.24.4" "3.24.3" "3.24.2" "3.24.1" "3.24.0" "3.23.1" "3.23.0" "3.22.0" "3.21.0" "3.20.0")
# versions=("3.23.0")
versions=("$1")
# versions=("3.26.4" "3.26.3" "3.26.2" "3.26.1" "3.26.0" "3.25.1" "3.25.0" "3.24.4" "3.24.3" "3.24.2" "3.24.1" "3.24.0" "3.23.1" "3.23.0" "3.22.0" "3.21.0" "3.20.0")

## now loop through the above array
for version in "${versions[@]}"
Expand Down

0 comments on commit 90cd7c0

Please sign in to comment.