Skip to content

Add CI workflows using GitHub Actions and improve module definitions #86

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2025

Conversation

bmos
Copy link
Collaborator

@bmos bmos commented Apr 12, 2025

  • Added pre-commit to avoid having to make commits to fix format/linting warnings/errors
  • Added Dependabot config file (need to enable in repo settings)
  • Added CodeQL scanning
  • Added coverage reporting with README badge
  • Added Dependency review
  • Added comprehensive Python check workflow
    • Ruff formatting
    • Ruff linting (with minimal config)
    • Bandit security checks
    • Pytest testing with ubuntu, windows, and macos with python 3.9-3.13
    • Pre-commit run when ruff and bandit pass
  • Removed tox and travis remnants
  • Removed setup.py and recreated pyproject.toml for single source of build info using latest standards
  • Added pypi classifiers
  • Code cleanup (conversion to f-strings, consistent use of quotes, not passing self to super, avoiding bare Exceptions)

* remove tox and travis

* add dependabot

* update version numbers

* updated ci workflow

* ruff fixes

* support python 3.13 patches

* fix dependency install commands

* add pypi badges

* add dev requirements file

* remove pip-install and mypy jobs

* cleanup workflow commands

* read-all workflow permissions

* better workflow triggering

* more permissive requirements

* install requirements-dev.txt in workflow

* don't catch overly broad Exception in add cookie

* add codeql workflow

* add dependency review workflow

* update gitignore

* update to project config in pyproject.toml

* use 160 line length for ruff

* add pre-commit config

* updated ci workflow

* allow sudo in pytest step (for headless)

* apply pyupgrade fixes

* add allowed-endpoints to pytest harden-runner

* set harden runner to audit mode for pytest

* rename workflow to python.yaml

* faster pytests with xdist

* fix allowed-endpoints in coverage job

* try block in pytest harden runner again

* run on pull requests against any branch

* fix pytest-xdist not being used
@bmos bmos merged commit fc0eb79 into master Apr 12, 2025
23 checks passed
@bmos bmos deleted the ci-workflow branch April 12, 2025 02:18
Copy link

Coverage report

This PR does not seem to contain any modification to coverable code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant