Compare commits

...

10 commits

Author SHA1 Message Date
bb1621ba49
Merge pull request 'fix: Fix frontend build bc apparently they changed the node version' (!245) from fix/node-version into main
All checks were successful
Release / Release (push) Successful in 2m6s
Release / Build Backend Image (push) Successful in 59s
Release / Build Frontend Image (push) Successful in 47s
Reviewed-on: #245
2025-06-01 10:03:18 +00:00
602166aa61 fix: Remove sudo
All checks were successful
CI / Get Changed Files (pull_request) Successful in 9s
CI / oxlint (pull_request) Successful in 22s
CI / eslint (pull_request) Successful in 32s
CI / Docker frontend validation (pull_request) Successful in 30s
CI / prettier (pull_request) Successful in 35s
CI / Docker backend validation (pull_request) Successful in 16s
CI / test-build (pull_request) Successful in 1m7s
CI / Checkstyle Main (pull_request) Successful in 1m15s
CI / Backend Tests (pull_request) Successful in 1m53s
Setup Gitea Tea CLI / setup-and-login (pull_request) Successful in 1m17s
2025-06-01 11:09:12 +02:00
749303c3ee fix: Fix frontend build bc apparently they changed the node version 2025-06-01 11:09:07 +02:00
349378a13e
Merge pull request 'fix: remove being mean' (!239) from no-mean into main
Reviewed-on: #239
Reviewed-by: Claude <claude@anthropic.ai>
2025-05-28 11:04:35 +00:00
c7e364a188 fix: remove being mean
All checks were successful
CI / Get Changed Files (pull_request) Successful in 10s
CI / oxlint (pull_request) Successful in 34s
CI / prettier (pull_request) Successful in 38s
CI / eslint (pull_request) Successful in 47s
CI / Docker frontend validation (pull_request) Successful in 17s
Setup Gitea Tea CLI / setup-and-login (pull_request) Successful in 1m28s
CI / test-build (pull_request) Successful in 55s
CI / Docker backend validation (pull_request) Successful in 19s
CI / Checkstyle Main (pull_request) Successful in 1m16s
CI / Backend Tests (pull_request) Successful in 3m6s
2025-05-28 13:01:43 +02:00
e8f4ca81ba
Merge pull request 'fix: Line numbers' (!238) from line-numbers into main
Reviewed-on: #238
Reviewed-by: Claude <claude@anthropic.ai>
2025-05-28 10:58:13 +00:00
9088adbac5 fix: Line numbers
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / oxlint (pull_request) Successful in 22s
CI / eslint (pull_request) Successful in 29s
CI / prettier (pull_request) Successful in 31s
CI / Docker frontend validation (pull_request) Successful in 26s
CI / Docker backend validation (pull_request) Successful in 15s
Setup Gitea Tea CLI / setup-and-login (pull_request) Successful in 1m9s
CI / test-build (pull_request) Successful in 57s
CI / Checkstyle Main (pull_request) Successful in 1m6s
CI / Backend Tests (pull_request) Successful in 1m52s
2025-05-28 12:56:39 +02:00
06c4df7602
Merge pull request 'feat: Add test backend pipeline' (!235) from test-pipeline into main
Reviewed-on: #235
Reviewed-by: Phan Huy Tran <ptran@noreply.localhost>
balls
2025-05-28 10:47:10 +00:00
8072500faa
Merge branch 'main' into test-pipeline
All checks were successful
CI / Get Changed Files (pull_request) Successful in 7s
CI / oxlint (pull_request) Successful in 29s
CI / Docker frontend validation (pull_request) Successful in 29s
CI / eslint (pull_request) Successful in 37s
CI / prettier (pull_request) Successful in 38s
CI / Docker backend validation (pull_request) Successful in 19s
Setup Gitea Tea CLI / setup-and-login (pull_request) Successful in 1m10s
CI / test-build (pull_request) Successful in 1m10s
CI / Checkstyle Main (pull_request) Successful in 1m16s
CI / Backend Tests (pull_request) Successful in 1m56s
2025-05-28 10:44:42 +00:00
e418c296de feat: Add test backend pipeline
All checks were successful
CI / Get Changed Files (pull_request) Successful in 8s
CI / oxlint (pull_request) Successful in 21s
CI / eslint (pull_request) Successful in 30s
CI / Docker frontend validation (pull_request) Successful in 30s
CI / prettier (pull_request) Successful in 41s
CI / Docker backend validation (pull_request) Successful in 16s
CI / test-build (pull_request) Successful in 1m8s
CI / Checkstyle Main (pull_request) Successful in 1m17s
CI / Backend Tests (pull_request) Successful in 1m53s
Setup Gitea Tea CLI / setup-and-login (pull_request) Successful in 1m26s
2025-05-28 12:40:17 +02:00
3 changed files with 37 additions and 4 deletions

View file

@ -29,6 +29,32 @@ jobs:
workflow:
- '.gitea/workflows/**'
test-backend:
runs-on: ubuntu-latest
name: "Backend Tests"
needs: changed_files
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
container:
image: "cimg/openjdk:23.0-node"
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Run tests"
working-directory: ./backend
run: |
./gradlew test
- name: "Cache checkstyle results"
uses: actions/upload-artifact@v4
with:
name: checkstyle-results
path: backend/build/reports/checkstyle
- name: "Stop Gradle"
working-directory: ./backend
run: ./gradlew --stop
checkstyle:
runs-on: ubuntu-latest
name: "Checkstyle Main"

View file

@ -31,7 +31,7 @@ jobs:
TEA_VERSION=$(echo "${{ steps.tea_version.outputs.version }}")
wget "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" -O tea
chmod +x tea
sudo mv tea /usr/local/bin/tea
mv tea /usr/local/bin/tea
- name: Verify Tea Installation
run: tea --version
@ -71,5 +71,7 @@ jobs:
tea \"<reject or approve>\" ${PR_NUMBER} \"<your review message here>\"
Make sure the comment is clear, professional, and helpful. Only run the tea comment command once you're finished reviewing all changes. AND MOST IMPORTANDLY ONLY REVIEW THE DIFF FROM THE CURRENT STATE TO THE MAIN BRANCH TO GET THAT USE GIT DIFF. Also if the changes are rejected be a bit mean
You may also use the tea cli to find out various things about the pull request"
Make sure the comment is clear, professional, and helpful. Only run the tea comment command once you're finished reviewing all changes. AND MOST IMPORTANDLY ONLY REVIEW THE DIFF FROM THE CURRENT STATE TO THE MAIN BRANCH TO GET THAT USE GIT DIFF
You may also use the tea cli to find out various things about the pull request
Don't be too strict
Also MAKE SURE TO ALWAYS MENTION WHAT FILES AND LINE NUMBERS ARE WRONG"

View file

@ -1,7 +1,12 @@
FROM oven/bun:debian AS build
WORKDIR /app
RUN apt-get update -y && apt-get install nodejs -y
RUN apt-get update -y && \
apt-get install -y --no-install-recommends curl ca-certificates gnupg && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y --no-install-recommends nodejs && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ENV NODE_ENV=production