GitHub CI
Last updated
Last updated
GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
Follow these steps to connect a GitHub workflow to Qase:
One of Qase reporter apps should be used in order to receive the test run results.
Create a token in Qase and add it to the QASE_API_TOKEN
secret in your GitHub repository settings.
The inputs and env variables that are required need to be defined in a workflow:
Add a step to the first place in the job. It allows to link a GitHub workflow run with a Qase test run.
Add additional steps to execute your tests.
After the workflow is connected, you can initiate automated test runs from Qase:
From the Test runs screen, click "Start a new Test run", and choose the type as 'Automated'
Choose a CI/CD system to use (Github):
Fill in the required fields:
Click "Start a run" button.
You will be redirected to a test run you started. In the test run details section, you will see a link to the workflow run in GitHub and the current status.
When the tests have been executed, the test run will contain all the results sent by a reporter (it should be properly configured):
GitHub Actions allows for reusable functions and workflows, enhancing automation and efficiency.
Qase offers the following actions, which can be integrated into your workflows to streamline tasks.
If integration with GitHub has already been enabled before, it’s required to accept new permissions in the GitHub application settings.
In case of insufficient permissions after clicking on the “Start a run” button, a message with an error will appear.
An example of Github integration: https://github.com/qase-tms/qase-javascript/tree/master/examples/github-qase-integration