From the course: Learning Selenium: Structure, Scale, Run, and Optimize Automated Tests
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Run tests in CI with GitHub Actions - Selenium Tutorial
From the course: Learning Selenium: Structure, Scale, Run, and Optimize Automated Tests
Run tests in CI with GitHub Actions
- [Instructor] So once you go to the GitHub, you can see this option over here on the top, which is called Actions. So this is called a GitHub Action. So if you click on that, this is where you can create a new workflow for GitHub. So I'm going to click on new workflow and simple workflow is fine for us, so let's configure that. So what this is saying is, we can use this template or modify this template to create our own workflow where we can run our test. So for us, this is a CI obviously, but it is Selenium test that we are running, so let's name it better. And the branch that we're working on right now is not main, but in most cases it would be main. That's why they already have got the main branch. So here we are working on a branch 04_03. So I'm going to just change that to 04_03, both for push and pull. And then, the comments are really helpful, read the comments. So allows you to run the workflow manually from action step, so we don't have any option over there. And then jobs…