chore(main): release 0.13.1 #2762
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python application | |
on: [pull_request, workflow_dispatch] | |
permissions: | |
checks: write | |
jobs: | |
build_backend: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: [3.8, 3.9, "3.10"] | |
env: | |
FORCE_COLOR: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Remove cached duckdb extensions | |
run: rm -rf ~/.duckdb | |
- uses: fjwillemsen/setup-nox2@v3.0.0 | |
- run: python -m pip install github-action-utils uv -U | |
- name: Lint with flake8 | |
run: | | |
pip install flake8 | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | |
- name: List nox envs | |
run: nox -l | |
- run: nox --pythons '${{ matrix.python }}' | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
junit_files: results.xml | |
comment_mode: off | |
check_name: "Test Results - ${{ join(matrix.*, ', ') }}" | |
- uses: codecov/codecov-action@v4 | |
env: | |
PYTHON: ${{matrix.python}} | |
BLEEDING_EDGE: ${{matrix.bleeding_edge}} | |
with: | |
files: ./coverage.xml | |
token: ${{ secrets.CODECOV_TOKEN }} | |
env_vars: PYTHON,BLEEDING_EDGE # set from matrix | |
fail_ci_if_error: true | |
verbose: true |