Skip to content

feat: boolean and delimiters regex, comments #19

feat: boolean and delimiters regex, comments

feat: boolean and delimiters regex, comments #19

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- main
pull_request:
branches-ignore:
- main
jobs:
publish:
name: "Lint, test and upload to codecov"
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov
- name: Lint with flake8
run: |
flake8 .
- name: Run tests with pytest
run: |
pytest --cov=src/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}