postgresqlapache-age

How to run Driver Tests for Apache Age locally


Is it possible to run driver tests locally instead of waiting for a pull request to be triggered? The Apache Age project has four drivers - GoLand, JDBC, Node.js, and Python. I would like to know how to run the tests for each driver individually.

Currently, when a pull request is made, all driver tests are run and checked. However, I am interested in finding out if there is a way to run these tests on my local system.

The project's regression tests can be run using the installcheck command, but I'm not sure if there are similar commands for the driver tests. Can someone provide instructions on how to run tests for each driver?


Solution

  • OPTION 1

    You can update the workflows temporarily to trigger for a commit on the branch you are working. e.g

    on:
     push:
      branches: ['your-branch']
    

    Be sure to remove this before creating a PR on the main repo.

    OPTION 2

    Create a PR on the master branch of your own forked repo before creating it for official repo. This is what I personally prefer btw.