Skip to content

Fix logger reference (must be self.trace) #2

Fix logger reference (must be self.trace)

Fix logger reference (must be self.trace) #2

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI/CD test
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
PYTHON_VERSION: 3.12.4
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Caches pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-py-${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
- name: Lint code
run: ruff check
- name: Run tests
run: pytest test