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 coverage to file_regex status check method #1511

Merged
merged 23 commits into from
Jul 11, 2023
Merged
Changes from 3 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
402985d
Update test_builders.py to add file_regex status check
braeeast2001 Jul 3, 2023
f6ab377
Update test_builders.py
braeeast2001 Jul 3, 2023
12550ba
Update test_builders.py
braeeast2001 Jul 5, 2023
7b2d489
Update test_builders.py
braeeast2001 Jul 6, 2023
2a4c863
update docstring for the test to be more meaningful to the what is be…
shahzebsiddiqui Jul 7, 2023
e7b1a68
Merge branch 'devel' into Brae'zah_Patch
shahzebsiddiqui Jul 7, 2023
a931216
Create symlink and update line 143
braeeast2001 Jul 10, 2023
f48be7a
Merge branch 'Brae'zah_Patch' of https://github.com/braeeast2001/buil…
braeeast2001 Jul 10, 2023
ff7cfc5
Delete regex_on_filename.yml
braeeast2001 Jul 10, 2023
41fb1d3
Update test_builders.py
braeeast2001 Jul 10, 2023
97d0598
Merge branch 'Brae'zah_Patch' of https://github.com/braeeast2001/buil…
braeeast2001 Jul 10, 2023
2846d99
Update test_builders.py
braeeast2001 Jul 10, 2023
16038d0
Re-add Dr. Anwar method
braeeast2001 Jul 10, 2023
1a15992
Correct Dr. A test name
braeeast2001 Jul 10, 2023
32102dd
Create NEW file and Update test_builders.py
braeeast2001 Jul 10, 2023
bf83c74
Add New lien at the END of the file
braeeast2001 Jul 10, 2023
ccc40d6
Merge branch 'devel' into Brae'zah_Patch
braeeast2001 Jul 10, 2023
d5ad3ea
Update regex_on_invalids.yml
braeeast2001 Jul 11, 2023
0468a1a
Merge branch 'Brae'zah_Patch' of https://github.com/braeeast2001/buil…
braeeast2001 Jul 11, 2023
1f2cc16
Correct spelling mistakes
braeeast2001 Jul 11, 2023
6ad6c25
fix issue with test it must be in the tests/builders directory
shahzebsiddiqui Jul 11, 2023
b6c62b2
fix style check issue
shahzebsiddiqui Jul 11, 2023
e111ca3
fix issue with yamllint
shahzebsiddiqui Jul 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions tests/builders/test_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,15 @@ def test_file_count():
configuration=config,
)
cmd.build()

def test_file_regex():
shahzebsiddiqui marked this conversation as resolved.
Show resolved Hide resolved
"""This test buildspec using status check with 'file_regex'"""
shahzebsiddiqui marked this conversation as resolved.
Show resolved Hide resolved
cmd = BuildTest(
buildspecs=[
os.path.join(here, "regex_on_filename.yml")
],
buildtest_system=system,
configuration=config,
)
cmd.build()

Loading