Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-github-actions #12

Merged
merged 19 commits into from
Aug 31, 2023
Merged

add-github-actions #12

merged 19 commits into from
Aug 31, 2023

Conversation

nabim777
Copy link
Member

@nabim777 nabim777 commented Aug 23, 2023

Description

Here ,setup of GitHub actions workflow is added to test only

Issue

#11

@nabim777 nabim777 force-pushed the github-actiions-ci branch 3 times, most recently from 79779a9 to 29691ca Compare August 23, 2023 09:12
@nabim777 nabim777 changed the title added-github-actions add-github-actions Aug 23, 2023
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
@nabim777 nabim777 force-pushed the github-actiions-ci branch 4 times, most recently from 08eda92 to b6ae2b5 Compare August 23, 2023 10:12
@nabim777 nabim777 force-pushed the github-actiions-ci branch 2 times, most recently from 9fdf29d to ac2bcf1 Compare August 23, 2023 11:32
@nabim777 nabim777 force-pushed the github-actiions-ci branch 3 times, most recently from e42cf74 to 8240755 Compare August 24, 2023 01:54
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
.github/workflows/test.yml Outdated Show resolved Hide resolved
@nabim777 nabim777 force-pushed the github-actiions-ci branch 5 times, most recently from 8d39097 to cf80869 Compare August 28, 2023 09:05
@nabim777 nabim777 force-pushed the github-actiions-ci branch 2 times, most recently from 4b9979c to de81c58 Compare August 28, 2023 11:20
readme.md Outdated
```
- After installing Bats, you can run your tests locally using the following command:
```bash
bats tests/test_scan_command.bats
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to not hard-code the filename incase we add other tests as well?

Suggested change
bats tests/test_scan_command.bats
bats tests/<path-to-the-test-file>

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be done this way?
bats tests/*.bats

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that will work and in the future a developer can run all the bats tests without needing to know what the filename(s) are.

phil@phil-Inspiron-5468:~/git/JankariTech/expected-failures-updater$ bats tests/*.bats
 ✓ detect removed scenarios
 ✓ detect new added scenarios

2 tests, 0 failures

readme.md Outdated Show resolved Hide resolved
.github/workflows/CI.yml Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
@phil-davis phil-davis merged commit f60c2e3 into main Aug 31, 2023
1 check passed
@phil-davis phil-davis deleted the github-actiions-ci branch August 31, 2023 07:46
@phil-davis phil-davis mentioned this pull request Aug 31, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants