Compare commits

...

18 Commits

Author SHA1 Message Date
dfc9641e66 Merge pull request 'rebase dev to pagination' (#9) from dev into pagination
Reviewed-on: #9
2023-03-21 09:38:14 +01:00
38cf096c0c Merge conflict
Some checks failed
build (17, windows-2022)
deploy
build (17, ubuntu-latest)
2023-03-21 09:34:02 +01:00
116e421dfc fix test.yml
Some checks failed
build (17, ubuntu-latest)
build (17, windows-2022)
deploy
2023-03-21 09:06:14 +01:00
d77c45630d fix test.yml
Some checks failed
build (17, ubuntu-latest)
build (17, windows-2022)
deploy
2023-03-21 09:04:54 +01:00
f61b18ce13 fix test.yml 2023-03-21 09:03:34 +01:00
969f63878b Implement test to master (#6)
Some checks failed
build (17, ubuntu-latest)
build (17, windows-2022)
deploy
Reviewed-on: #6
2023-03-21 09:00:40 +01:00
2ad62de9f7 Fix test 2023-03-21 09:00:01 +01:00
265cb9b891 update test.yml, please action work... 2023-03-21 08:57:52 +01:00
bd89b4cd72 Update '.gitea/workflows/test.yml' 2023-03-21 08:48:56 +01:00
9237dc565e test updated 2023-03-21 08:46:21 +01:00
2570163571 update test 2023-03-21 08:41:15 +01:00
85d616506d update action 2023-03-21 08:38:41 +01:00
50070aeddf update action 2023-03-21 08:35:30 +01:00
ed52206238 Update action 2023-03-21 08:30:25 +01:00
899954f5a5 Update test.yml
Some checks failed
build (17, windows-2022)
deploy
build (17, ubuntu-latest)
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-03-20 21:11:48 +01:00
b9761edda0 Update '.gitea/workflows/test.yml'
Some checks failed
build (17, windows-2022)
deploy
build (17, ubuntu-latest)
2023-03-20 20:51:05 +01:00
270f17c754 Add an action
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2023-03-20 20:44:33 +01:00
31b6a45ef7 Merge pull request 'Fix mixins and temporary remove Pagination' (#5) from dev into master
Reviewed-on: #5
2023-03-02 18:53:46 +01:00

47
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,47 @@
# Automatically build the project and run any configured tests for every push
# and submitted pull request. This can help catch issues that only occur on
# certain platforms or Java versions, and provides a first line of defence
# against bad commits.
name:
on:
push:
branches: [ master, dev ]
pull_request_target:
branches: [ master, dev ]
jobs:
build:
strategy:
matrix:
java: [ '17' ]
# and run on both Linux and Windows
os: [ubuntu-latest, windows-2022]
runs-on: ${{ matrix.os }}
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: validate gradle wrapper
uses: https://github.com/gradle/wrapper-validation-action@v1
- name: setup jdk ${{ matrix.Java }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'oracle'
- name: make gradle wrapper executable
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: build
run: ./gradlew build --no-daemon
- name: test
run: ./gradlew test --no-daemon
deploy:
runs-on: ${{ ubuntu-latest }}
if: gitea.ref == 'refs/heads/master'
steps:
- name: deploy
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: build/libs/