Recall & Review
beginner
What is GitHub Actions used for?
GitHub Actions is a tool that helps automate tasks like testing, building, and deploying code whenever you make changes to your project.
Click to reveal answer
beginner
How do you trigger a GitHub Actions workflow?
You trigger a workflow by specifying events like pushing code, creating a pull request, or on a schedule in the workflow's YAML file.
Click to reveal answer
beginner
What file format is used to define GitHub Actions workflows?
Workflows are defined using YAML files placed in the .github/workflows directory of your repository.
Click to reveal answer
intermediate
How can you run Selenium tests using GitHub Actions?
You set up a job in the workflow that installs Python, Selenium, and browser drivers, then runs your test scripts automatically.
Click to reveal answer
beginner
What is the purpose of 'jobs' and 'steps' in a GitHub Actions workflow?
'Jobs' are groups of tasks that run on a machine, and 'steps' are individual commands or actions inside a job.
Click to reveal answer
Where do you place GitHub Actions workflow files in your repository?
✗ Incorrect
Workflow files must be in the .github/workflows folder for GitHub to detect and run them.
Which file format is used to write GitHub Actions workflows?
✗ Incorrect
GitHub Actions workflows are written in YAML format.
What event can trigger a GitHub Actions workflow?
✗ Incorrect
Workflows can be triggered by events like pushing code to the repository.
In GitHub Actions, what is a 'job'?
✗ Incorrect
A job is a set of steps that run together on a runner machine.
To run Selenium tests in GitHub Actions, you need to:
✗ Incorrect
The workflow must install required tools and drivers to run Selenium tests automatically.
Explain how to set up a GitHub Actions workflow to run Selenium Python tests automatically.
Think about the sequence of preparing the environment and running tests.
You got /5 concepts.
Describe the roles of 'jobs' and 'steps' in a GitHub Actions workflow.
Consider how tasks are organized and executed.
You got /4 concepts.