Skip to content

Commit

Permalink
chore: github actions for tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Jul 22, 2024
1 parent ecd4ef4 commit 6693ca8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 6,525 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/push-pull-req.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ jobs:
uses: "./.github/workflows/build.yml"
with:
latest: false
test-on-pull:
uses: "./.github/workflows/test.yml"
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Test Cassandra-Stress"

on:
workflow_dispatch:
workflow_call:

jobs:
build:
strategy:
matrix:
java: [ '11' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: ${{ matrix.java }}
- name: Setup Ant
uses: cedx/setup-ant@v2
with:
optional-tasks: true
version: latest
- name: Setup
run: ant init
- name: Test src
run: ant build-test
- name: Test cassandra-stress
run: ant stress-test
Loading

0 comments on commit 6693ca8

Please sign in to comment.