8000 CI: Run pytest, Flake8 and mypy on GitHub Actions on Ubuntu 20.04, 22.04, Debian and macOS · Issue #86 · aleph-im/aleph-client · GitHub
[go: up one dir, main page]

Skip to content

CI: Run pytest, Flake8 and mypy on GitHub Actions on Ubuntu 20.04, 22.04, Debian and macOS #86

Open

Description

@hoh

Problem

We would like to support many user systems with aleph-client, including:

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Debian Bullseye
  • macOS 12 Monterey
  • Windows 10

While most of the code is portable, some dependencies are compiled differently for different systems.

Tests currently run only on Ubuntu 20.04 via a Docker image, as defined in https://github.com/aleph-im/aleph-client/blob/master/.github/workflows/test-pytest.yml

This gives us low confidence on whether aleph-client works on these platforms, and we have no idea if a commit breaks it.

Proposal

Add GitHub Actions workflows that run pytest with flake8 and check for coverage. Also check types using mypy.

https://pypi.org/project/flake8/
https://pypi.org/project/mypy/
https://pypi.org/project/pytest-cov/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0