forked from engine-alpha/engine-alpha
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (26 loc) · 812 Bytes
/
test.yml
File metadata and controls
33 lines (26 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
name: Run tests
on: push
jobs:
run_tests:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout the repository
uses: actions/checkout@v6
with:
submodules: true
# https://github.com/actions/setup-java
- uses: actions/setup-java@v5
with:
java-version: "17"
distribution: "temurin"
cache: maven
# https://github.com/marketplace/actions/setup-just
- uses: extractions/setup-just@v3
- name: Sync the assets with some resources folder
run: just assets_sync_resources
- name: Install protobuf-compiler for jbox2d serialization module
run: sudo apt install -y protobuf-compiler
- name: Run the tests using Maven
run: mvn test