mirror of
https://github.com/xlorepdarkhelm/numinar-coding-project.git
synced 2026-09-09 07:23:12 -04:00
38 lines
925 B
YAML
38 lines
925 B
YAML
name: Nox CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
nox:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
- name: Install system dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y libpq-dev
|
|
- name: Install pipx
|
|
run: python -m pip install --user pipx && python -m pipx ensurepath
|
|
- name: Install Nox
|
|
run: pipx install nox
|
|
- name: Install Poetry
|
|
run: pipx install poetry
|
|
- name: Install Yarn
|
|
run: npm install -g yarn
|
|
- name: Install nox-poetry
|
|
run: pipx install nox-poetry
|
|
- name: Run Nox (all checks)
|
|
run: nox
|