Skip to content
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

Port CI to GitHub Actions and miscellaneous maintenance work #43

Merged
merged 9 commits into from
Oct 24, 2023

Commits on Sep 28, 2023

  1. tests: fix typos

    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    6c14d00 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. tests/plugin_git: do not rely on tags in repo

    `git describe` will fail if no tags are available. This happens with
    clones without tags, e.g. `git clone --no-tags [...]`, forks without
    tags and is the default of actions/checkout@v4 [1].
    
    Add the `--always` option to `git describe` to show the "uniquely
    abbreviated commit object as fallback" [2].
    
    [1] https://github.com/actions/checkout/blob/v4/README.md#usage
    [2] https://git-scm.com/docs/git-describe#Documentation/git-describe.txt---always
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    ee7b916 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2023

  1. tox: move setenv=FLAMINGO_TEST=1 to "testenv:.pkg" section

    Since tox 4, "packaging environments no longer inherit their settings
    from the testenv section" [1]. This becomes an issue for flamingo
    because the environment variable FLAMINGO_TEST is checked in its
    setup.py.
    
    Fix this by moving the setenv directive to the build environment
    section. passenv= in flamingo is not affected because other env lookups
    are performed outside of its setup.py.
    
    [1] https://tox.wiki/en/4.11.3/upgrading.html#packaging-configuration-and-inheritance
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    0ddbf4c View commit details
    Browse the repository at this point in the history
  2. setup/tox: fix supported Python versions

    Testing with Python 3.6 has been dropped a while ago, while Python 3.10
    testing was added. Advertise these versions and adjust the tox
    environments accordingly.
    
    Fixes: ae476f3 (".travis: Python versions update")
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    6fb74a7 View commit details
    Browse the repository at this point in the history
  3. plugins: fix linter warnings

    Fix warnings emitted by `tox -e lint`. Use recommendations from
    black [1] for affected lines only.
    
    [1] https://github.com/psf/black
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    0ece7e0 View commit details
    Browse the repository at this point in the history
  4. test/advertise Python 3.11 support

    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    92a64ed View commit details
    Browse the repository at this point in the history
  5. github/travis: port CI to GitHub actions

    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    5f8176f View commit details
    Browse the repository at this point in the history
  6. github: rename "main" workflow to "docs"

    While at it, drop the sample comment and name the workflow accordingly.
    This gets displayed unter the "actions" tab as well as on the status
    badge.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    9256560 View commit details
    Browse the repository at this point in the history
  7. README: update badges

    Drop the now unused Travis and LGTM badges. Add badges for GitHub
    actions CI and documentation build tests.
    
    Signed-off-by: Bastian Krause <bst@pengutronix.de>
    Bastian-Krause committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    7fa6c66 View commit details
    Browse the repository at this point in the history