diff --git a/.github/workflows/lint.yml b/.github/workflows/lint_and_coverage.yml similarity index 75% rename from .github/workflows/lint.yml rename to .github/workflows/lint_and_coverage.yml index 6d214f8f..395b38ba 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint_and_coverage.yml @@ -1,4 +1,4 @@ -name: lint +name: lint_and_coverage on: push: @@ -8,15 +8,15 @@ on: jobs: linting: - name: Lint + name: Lint and Coverage runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4.2.2 + - uses: actions/checkout@v4 with: submodules: recursive - - uses: actions/setup-python@v5.3.0 + - uses: actions/setup-python@v5 with: python-version: 3.11 @@ -26,7 +26,7 @@ jobs: - name: Run Linting uses: astral-sh/ruff-action@v3 - - name: Coverage + - name: Coverage Requirement run: | pip install cython cythonize tests/test_cython/cython_example.pyx diff --git a/makefile b/makefile index 6c06e636..eabc2132 100644 --- a/makefile +++ b/makefile @@ -37,7 +37,7 @@ purge: clear test: ./env/bin/pip install cython ./env/bin/cythonize tests/test_cython/cython_example.pyx - ./env/bin/pytest + ./env/bin/pytest --cov-fail-under=99 lint: ./env/bin/ruff check