Skip to content

refactor(all): ♻️ 🤖 💫 Automated AI magic at work #26

refactor(all): ♻️ 🤖 💫 Automated AI magic at work

refactor(all): ♻️ 🤖 💫 Automated AI magic at work #26

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[test]
- name: Run tests
run: |
pytest --cov=audiokit --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Ruff
run: |
pip install ruff
- name: Run Ruff linting
run: |
ruff check audiokit tests
- name: Run Ruff formatting check
run: |
ruff format --check audiokit tests