Skip to content

Commit

Permalink
feat : add test and build job
Browse files Browse the repository at this point in the history
  • Loading branch information
wwan13 committed May 17, 2024
1 parent eb12dde commit 5dc807c
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,23 @@ on:
branches: [ main ]

jobs:
run-test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: test
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: clean build

check-lisence:
runs-on: ubuntu-latest

Expand All @@ -14,6 +31,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.10"
- run: |
python3 ./.github/workflows/scripts/check-lisence.py

- name: check license script
run: |
python3 ./.github/workflows/scripts/check-license.py

0 comments on commit 5dc807c

Please sign in to comment.