Develop #132
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
# You can enable the CI workflow by uncommenting the following lines. | |
# This will compile, lint and test the code on every push to the main branch and for pull requests. | |
# Currently, the CI will fail as there are linting errors in the code. | |
# | |
name: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Run Server Tests | |
run: ./gradlew test integrationTest jacocoTestReport | |
- name: Run Client Tests | |
run: npm test |