Sort by ID instead of task_finished. Add customizable limit. #371
Workflow file for this run
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: Run tests | |
on: [push] | |
jobs: | |
tests: | |
name: Run tests with spring boot version compatibility check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
spring-boot: [ '2.7.15', '3.0.6', '3.1.3' ] | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
- name: Cache Node.js modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Node.js dependencies | |
run: | | |
cd db-scheduler-ui-frontend | |
npm install | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Run tests | |
run: mvn -B -Dspring-boot.version=${{ matrix.spring-boot }} clean test --file pom.xml |