fix(deps): update junit5 monorepo to v5.12.0 #9742
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
name: "build" | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 2 * * *' # run at 2 AM UTC | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
defaults: | |
run: | |
working-directory: ./COOL | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '14' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Init | |
run: | | |
chmod +x *.sh | |
./init.sh | |
cd src/main/python | |
source venv/bin/activate | |
python -m unittest discover | |
- name: Test Kotlin | |
run: | | |
./download.sh | |
./start.sh | |
./gradlew --stacktrace --scan | |
./stop.sh | |
- name: Generate the charts | |
run: | | |
cd src/main/python | |
pip install -r requirements.txt | |
pip install jupyter | |
jupyter nbconvert --execute --to notebook --inplace charts.ipynb | |
release: | |
needs: | |
- build | |
if: github.event_name == 'push' | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Install Node | |
uses: actions/[email protected] | |
with: | |
node-version-file: package.json | |
- uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '14' | |
- name: Deploy | |
run: | | |
cd COOL | |
chmod +x ./gradlew | |
./gradlew shadowJar | |
- name: Release | |
run: | | |
npm install | |
npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |