Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F ffmpeg-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Karl Kroening
  • ffmpeg-python
  • Merge requests
  • !641

Use GitHub Actions for CI

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Karl Kroening requested to merge KK/gha into master Mar 06, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 6

This sets up GitHub Actions (GHA) to run in place of the currently broken Travis CI. Initially, this only covers running tox/pytest and Black, but may eventually be extended to run pylint, mypy, flake8, etc. - see #605, for example.

Notes:

  • Python 3.10 is not yet supported due to the collections.Iterable issue discussed in #330, #624, etc.
  • The Black CI step acts as a linting step, rather than attempting to have the GHA job automatically update/commit/push the reformarted code.
  • Black is currently pinned to an older version that supports --target-version py27 until Python 2 compatibility can be dropped in the final Python 2 compatibility release of ffmpeg-python.
  • Only the main source directory (ffmpeg/) is checked with Black at the moment. The examples/ directory should also be checked, but will be done as a separate PR.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: KK/gha