-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a50d91
commit 61b289a
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Unit Tests # name of the test | ||
|
||
on: [push] # the Github Action will activate "on" the event that you "push" to the repo | ||
|
||
jobs: # the things being executed | ||
tests: # the name of your status check, will become important when you do branch protection | ||
runs-on: ubuntu-latest # which device on Github's server that you are running the Actions on | ||
steps: | ||
- uses: actions/checkout@v4 # using version 4 of Actions | ||
- name: Install Dependencies | ||
run: npm install | ||
- name: Unit Test | ||
run: npm test ./__tests__/sum.test.js # the actual testing line |