Skip to content

feat: [sc-25983] Prepare NameRank for transition into Monorepo #3

feat: [sc-25983] Prepare NameRank for transition into Monorepo

feat: [sc-25983] Prepare NameRank for transition into Monorepo #3

name: NameRank API - Unit Tests
on:
push:
branches:
- main
paths:
- "apps/api.namerank.io/**"
pull_request:
branches:
- main
- staging
paths:
- "apps/api.namerank.io/**"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout NameKit repo
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
working-directory: ./apps/api.namerank.io
run: poetry install
- name: Run tests
working-directory: ./apps/api.namerank.io
run: poetry run pytest -vv