Skip to content

bump version to 3.0.0rc1 #50

bump version to 3.0.0rc1

bump version to 3.0.0rc1 #50

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
workflow_call:
jobs:
# Build Python package
build:
uses: ewoks-kit/.github/.github/workflows/python-build.yml@main
# Run tests
tests:
needs: build
uses: ewoks-kit/.github/.github/workflows/python-tests.yml@main
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
pytest-args: >-
-v -ra -W error
${{ matrix.extra-pytest-warnings }}
enable-coverage: ${{ matrix.enable-coverage }}
codecov-flags: "unit"
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: "3.8"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.9"
enable-coverage: "false"
# https://github.com/networkx/networkx/issues/7372
extra-pytest-warnings: "-W ignore::RuntimeWarning:networkx.utils.backends"
- os: ubuntu-latest
python-version: "3.10"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.11"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.12"
enable-coverage: "true"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.13"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.14"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: windows-latest
python-version: "3.9"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: windows-latest
python-version: "3.10"
enable-coverage: "false"
extra-pytest-warnings: ""
# Run linter / checks
checks:
uses: ewoks-kit/.github/.github/workflows/python-check.yml@main
# Build documentation
docs:
needs: build
uses: ewoks-kit/.github/.github/workflows/python-docs.yml@main
# Run scripts
scripts:
needs: build
runs-on: ubuntu-latest
steps:
- uses: ewoks-kit/.github/.github/actions/setup-python-package@main
- name: Run all scripts
shell: bash
run: |
for filename in scripts/*; do
echo "Running $filename"
python "$filename"
done