Skip to content

vscode: remove hardcoded clang path, let VS Code auto-detect #39

vscode: remove hardcoded clang path, let VS Code auto-detect

vscode: remove hardcoded clang path, let VS Code auto-detect #39

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov flake8
- name: Lint with flake8
run: |
flake8 src/ --max-line-length=100 --exclude=__pycache__ || true
- name: Run tests
run: |
pytest tests/ -v --cov=guillotine --cov-report=xml --cov-report=term
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false