• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 17 pages
Exam (elaborations)

Github Actions Test With Complete Solution

Document preview thumbnail
Preview 3 out of 17 pages

Github Actions Test With Complete Solution...

Content preview

Github Actions Test With
Complete Solution

The Workflow Syntax is written in? - ANSWER YAML

The Workflow Syntax must have what file extensions? - ANSWER .yml or
.yaml

The Workflow is stored in what directory? - ANSWER .github/workflows/

Each different YAML file corresponds to what? - ANSWER A different
workflow.

Where is the Workflow's name displayed? - ANSWER In the repository's
actions page

What is the Workflow, Job, or Step ENV? - ANSWER A map of environment
variables that are available within each Workflow.

What is the On Event used for? - ANSWER The event type that triggers the
Workflow.

How can you provide arguments to the On Event in your Workflow? -
ANSWER As a single event string, an array of events, or a configuration map
that restricts the execution of a workflow.

With regards to the On Event, Paths specify what? - ANSWER Specify which
files must have been modified in order to run a workflow.




With regards to the On Event, if your rules are made up of only exclusions,

,you can use what keywords? - ANSWER Branches-ignore, tags-ignore, and
paths-ignore.




With regards to the On Event, what keyword forms cannot be mixed. -
ANSWER The "-ignore' form and the inclusive version.




With regards to the On Event, what types of keywords allow us to narrow
down activities? - ANSWER Opened, Created, Edited, etc...




A workflow is made up of one or more...? - ANSWER One or more Jobs




Jobs are identified by what? - ANSWER A unique Job ID or name. Starts with
a letter or underscore.




How do jobs run as a default? - ANSWER Jobs run in parallel




Where does each job run? - ANSWER Each job runs in a fresh instance
specified by `runs-on`.




What is the Job Name used for? - ANSWER It's the name displayed on
GitHub.

, What is the Needs keyword? - ANSWER Identifies any job that must complete
successfully before this job can run. Makes the jobs run sequentially.




How can arguments be passed to the Needs keyword? - ANSWER Arguments
can be passed as a string or as an array of strings.




What happens if a job needs another job and it fails? - ANSWER All jobs that
need a failed job are skipped unless the job uses a conditional statement that
causes the job to continue.




What does the 'runs-on' keyword determine? - ANSWER It determines the
type of virtual host machine to run the job on.




Where can the jobs virtual host run? - ANSWER It can run either in a Github, a
self-hosted runner, or a user-specified container.




What can be ran in a container? - ANSWER A container can run any steps in a
job that don't already specify a container.




If you have steps that use both script and container actions, what will happen
to the two containers? - ANSWER The container actions will run as siblings

Document information

Uploaded on
October 27, 2024
Number of pages
17
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Smooth
4.1
(67)
Sold
353
Followers
216
Items
3029
Last sold
1 month ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions