Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Run tests in CI #153

Open
Open

Description

@2e0byo

As something of a priority we need to fix the test suite, ideally before we merge anything else. I'll try to get on this this week, unless anyone else wants to.

Once it passes we should add vcr (pytest-recording) with sanitising and run it in ci.

FWIW I think 3.9 is probably broken, but we need tests running in ci to be confident.

Activity

  1. tehkillerbee commented on Jul 11, 2023

    @tehkillerbee
    Collaborator

    I agree. Feel free to take a look at it, as you are definitely the most qualified! ;)

  2. 2e0byo commented on Jul 12, 2023

    @2e0byo
    CollaboratorAuthor

    Tests now pass. We should run in vcr with pytest-recording, but for now lets not merge anything unless one of the maintainers has run the test suite locally.

    I've not fixed tox as I don't like keeping the deps in two places, so poetry run pytest. Credentials will be cached locally.

  3. 2e0byo commented on Jul 12, 2023

    @2e0byo
    CollaboratorAuthor

    PS didn't add pytest-recording as it's currently broken. There's an open (abandoned) PR to work against latest VCR which would fix it; might pick that up if nobody else does.

  4. 2e0byo commented on Aug 21, 2023

    @2e0byo
    CollaboratorAuthor

    Most of the work to get tests running in ci is floating around in a branch on my fork. If someone has the time feel free to get it working: we need to mock the right properties on Session() (or modify it) so we can start a session up without the internet, but all the rest works as recorded. I'm not likely to have much time for this in the next few weeks, but I'll get on it if I can.

  5. changed the title [-]Fix test suite[/-] [+]Run tests in CI[/+] on Aug 21, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions