Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CD
name: Release

on:
push:
Expand Down
38 changes: 31 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,50 @@ on:
- main

jobs:
pytest:
name: Pytest
app:
name: "App"
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: "Checkout code"
uses: actions/checkout@v5

- name: Set up Python
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"

- name: Install uv and set the Python version
- name: "Install uv and set the Python version"
uses: astral-sh/setup-uv@v6
with:
enable-cache: true

- name: Install Dependencies
- name: "Install Dependencies"
run: uv sync --locked --dev

- name: Run Pytest and Coverage
- name: "Run Pytest and Coverage"
run: uv run pytest

client:
name: "Client"
runs-on: ubuntu-latest
defaults:
run:
working-directory: "./client"

steps:
- name: "Checkout code"
uses: actions/checkout@v5

- name: "Setup Node.js"
uses: actions/setup-node@v6
with:
node-version: 20.x
cache: "npm"
cache-dependency-path: "client/package-lock.json"

- name: "Install Dependencies"
run: npm ci

- name: "Run Vitest & RTL"
run: npm run test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="/docs/public/favicon.svg" width="25" /> avatars
# <img src="./client/public/favicon.svg" width="25" /> avatars

> API for generating customizable SVG avatars with consistent seeds.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading