That last commit was cringe
Some checks failed
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Has been cancelled

This commit is contained in:
2025-05-16 08:44:02 -04:00
parent 691a32ff56
commit 4251a03139
2 changed files with 33 additions and 33 deletions

View File

@@ -9,31 +9,31 @@ on:
branches:
- "*"
name: 🧪✨ Unit Tests Workflow
name: 🧪 ✨ Unit Tests Workflow
jobs:
build-javascript:
name: 🧪📜 JavaScript Tests
name: 🧪 📜 JavaScript Tests
runs-on: ubuntu-latest
steps:
- name: 🛡️🔒 Add Siteworx CA Certificates
- name: 🛡️ 🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: 📖🔍 Checkout Repository Code
- name: 📖 🔍 Checkout Repository Code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: ⚙️🔧 Set up Node.js Environment
- name: ⚙️ 🔧 Set up Node.js Environment
uses: actions/setup-node@v2
with:
node-version: '22.14.0'
- name: 📦📥 Install Dependencies
- name: 📦 📥 Install Dependencies
run: |
cd frontend
npm install
- name: ✅🧪 Run JavaScript Tests
- name: 🧪 Run JavaScript Tests
run: |
cd frontend
npm run build
@@ -42,28 +42,28 @@ jobs:
env:
GOPRIVATE: 'git.siteworxpro.com'
GOPROXY: 'direct'
name: 🔍🐹 Go Tests
name: 🔍 🐹 Go Tests
runs-on: ubuntu-latest
steps:
- name: 🛡️🔒 Add Siteworx CA Certificates
- name: 🛡️ 🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: ⚙️🐹 Set up Go Environment
- name: ⚙️ 🐹 Set up Go Environment
uses: actions/setup-go@v2
with:
go-version: '1.24.0'
cache: true
- name: 📖🔍 Checkout Repository Code
- name: 📖 🔍 Checkout Repository Code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: 📦📥 Install Dependencies
- name: 📦 📥 Install Dependencies
run: |
cd backend
go mod download
- name: ✅🔍 Run Go Tests
- name: 🔍 Run Go Tests
run: |
cd backend
go test -v ./... -coverprofile=coverage.out