Skip to content

fix: remove .DS_Store and update .gitignore to include relevant files #99

fix: remove .DS_Store and update .gitignore to include relevant files

fix: remove .DS_Store and update .gitignore to include relevant files #99

Workflow file for this run

name: Java CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
- name: Compile Java code and tests
run: |
mkdir -p bin
find java-backend/src -name "*.java" > sources.txt
javac -cp "java-backend/lib/*" -d bin @sources.txt
- name: Run JUnit tests
run: java -cp "bin:java-backend/lib/*" org.junit.platform.console.ConsoleLauncher --scan-class-path