This folder contains the GitHub Actions workflows configured for this project.
For integration tests to work correctly on GitHub Actions, you need to configure the following secrets in your GitHub repository settings:
TEST_PLANE_TOKEN_API
: Your Plane.so API key for testingTEST_PLANE_WORKSPACE_SLUG
: Your Plane.so workspace slug (e.g., "your-organization")
- Go to your GitHub repository
- Navigate to "Settings" > "Secrets and variables" > "Actions"
- Click on "New repository secret"
- Add the two secrets mentioned above
This workflow tests the Plane API endpoints. It is triggered in the following cases:
- When pushing to main/master branches
- When creating a pull request to main/master
- Manually via the GitHub Actions interface
- Automatically every day at midnight (00:00 UTC)
It runs two jobs:
- unit-tests: Runs all unit tests
- integration-tests: Runs integration tests and the endpoint verification script
To manually run tests via GitHub Actions:
- Go to the "Actions" tab of your repository
- Select the "Test API Endpoints" workflow in the sidebar
- Click on "Run workflow"
- Choose the branch on which to run the tests
- Click on "Run workflow"