Skip to content

Add automated testing #12

Closed
Closed

Description

@pydsigner

We should add a few tests for each function currently available through these bindings.

Activity

  1. mafr commented on Dec 16, 2025

    @mafr
    Contributor

    I have a few happy path tests that I can contribute. Still haven't figured out how to get the parser flags and the unused_symbols parameter to do anything different, though.

  2. mafr commented on Dec 16, 2025

    @mafr
    Contributor

    There are a few tests on this branch: https://github.com/mafr/python-lightningcss/tree/feature/add-tests

    Let me know if you're interested, but I haven't looked into GitHub Actions to automate test execution yet.

  3. pydsigner commented on Dec 16, 2025

    @pydsigner
    OwnerAuthor
  4. mafr commented on Dec 17, 2025

    @mafr
    Contributor

    Thanks - that looks similar to what I use on Bitbucket.

    How do you want to have this integrated? As another step in each job (install pytest, then run tests), or as a separate job that builds and runs the tests?

  5. pydsigner commented on Dec 17, 2025

    @pydsigner
    OwnerAuthor

    I don't think we need to run tests across the full matrix at this point. But we could use the wheel created in the build job too. So I think a separate job that waits for the linux build to finish and then uses one of the wheels for install?

  6. pydsigner commented on Mar 18, 2026

    @pydsigner
    OwnerAuthor

    Closed in #15.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions