Skip to content

Run (most) tests on all operating system #7725

Closed

Description

@janpio

We should enable the prisma/prisma tests for all operating systems. Currently this is not possible, as the tests use databases that are started via Docker: #7721 (GH Actions can not run Linux containers on Windows, and the MacOS runners do not have Docker installed by default).

A possible solution could be to use services in our GH Actions setup again: https://docs.github.com/en/actions/guides/creating-postgresql-service-containers

Activity

  1. added
    topic: tech debt
    on Aug 24, 2021
  2. added
    tech/typescript
    on Nov 26, 2021
  3. janpio commented on Nov 26, 2021

    @janpio
    ContributorAuthor

    3 phases:

    1. Build a CI pipeline that can run on Windows and MacOS
    2. Learn and understand what tests are failing
    3. Fix the failing tests
  4. matthewmueller commented on Nov 29, 2021

    @matthewmueller
    Contributor

    So do prisma/prisma CI tests only run on linux right now?

  5. janpio commented on Nov 29, 2021

    @janpio
    ContributorAuthor

    Yes, both on Buildkite and GH Actions.

  6. Jolg42 commented on Nov 30, 2021

    @Jolg42
    Contributor

    We have some e2e tests running on Windows, macOS and Linux like https://github.com/prisma/e2e-tests/blob/dev/.github/workflows/test.yaml#L328-L334 but indeed the full test suite of prisma/prisma is only running on Linux mainly because of Docker only being available for Linux and it's needed to setup our databases in a short amount of time.

  7. added this to the 3.7.0 milestone on Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/techtech/typescripttopic: ci/cdtopic: node-apitopic: tech debttopic: tests

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions