Skip to content

"new tool paradigm" #46

"new tool paradigm"

"new tool paradigm" #46

Workflow file for this run

# STYLE WORKFLOW CONFIGURATION FILE
# #######################################################################
# Configuration file for checking code style consistency
# GitHub CI services (GitHub Actions and GitHub Pages)
# WORKFLOW FILE
# ***********************************************************************
# Workflow
# =======================================================================
name: tests
# Triggers
# =======================================================================
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Permissions
# =======================================================================
# no permissions
# JOBS
# =======================================================================
jobs:
# BUILD JOB
black:
runs-on: ubuntu-latest
steps:
# Step 1: Get your code
# -----------------------------------------------------------------
- name: Checkout repository
uses: actions/checkout@v4
# Step 2: Setup Python environment
# -----------------------------------------------------------------
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
# Step 3: Install dev dependencies
# -----------------------------------------------------------------
- name: Install dependencies
# V [CHECK THIS] use the appropriate package manager
# V [CHECK THIS] include extra testing dependencies if needed
run: |
python -m pip install --upgrade pip
pip install .
# Step 4: Run unit tests
# -----------------------------------------------------------------
- name: Run Tests
run: python -m unittest discover -s tests -p "test_*.py"