refactor code and fix body payloads not being sent #8
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
name: Main | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix | |
strategy: | |
fail-fast: false | |
matrix: | |
# Uncomment ci_node_total and ci_node_index, ONLY if we have multiple tests | |
# and need to run it in parallel | |
# [n] - where the n is a number of parallel jobs you want to run your tests on. | |
# Use a higher number if you have slow tests to split them between more parallel jobs. | |
# Remember to update the value of the `ci_node_index` below to (0..n-1). | |
#ci_node_total: [8] | |
# Indexes for parallel jobs (starting from zero). | |
# E.g. use [0, 1] for 2 parallel jobs, [0, 1, 2] for 3 parallel jobs, etc. | |
#ci_node_index: [0, 1, 2, 3, 4, 5, 6, 7] | |
java-version: ['11', '17', '21'] | |
env: | |
TZ: "Europe/Ireland" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'oracle' | |
cache: 'gradle' | |
- name: Run tests | |
run: | | |
./gradlew test |