Skip to content

feat: update

feat: update #22

Workflow file for this run

name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build-test:
name: Build and Test Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.7"
- name: "📦 Install Dependencies"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install black
pip install build
- name: "🔍 Performing Lint & Formatting"
run: black .
- name: "🧪 Running Tests (CPU)"
run: python -m lazuardy_anfis.tests
- name: "🧪 Running Tests (GPU)"
run: python -m lazuardy_anfis.tests_gpu
- name: "🔨 Building Package"
run: python -m build --sdist --wheel --outdir dist/