Closed GuillaumeFalourd closed 3 years ago
Merging #972 (5266aa8) into master (ce332aa) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #972 +/- ##
=======================================
Coverage 84.37% 84.37%
=======================================
Files 123 123
Lines 4890 4890
=======================================
Hits 4126 4126
Misses 493 493
Partials 271 271
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update ce332aa...5266aa8. Read the comment docs.
Description
Closes: https://github.com/ZupIT/ritchie-cli/issues/957
Funcional tests using rit binaries for each OS, for the
workspace
core commands. Those kind of tests could improve the project quality and future pipeline performances by testing only what matters on each contribution, instead of testing everything every time.This workflow will trigger every time one of the paths informed files is updated, by a
PULL REQUEST
event or aPUSH
event.The workflow executes in parallel jobs on
windows
,ubuntu
andmacOS
where each job will:rit add workspace
,rit list workspace
,rit delete workspace
erit update workspace
.diff
command to assert the output is as expected.Expected outputs need to be added to the
/testdata/gha_workflows
directory, currently on the.txt
formatAdd-On
How to verify it
Workspace
Here are some samples:
Reference
Repositories
Here are some samples:
Reference
Changelog
workspace
core commands.This pull request generated the following artifacts.
To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.
Windows Download the file: rit-windows.zip Unzip to some folder like:
C:\home\user\downloads\pr972
Access the folder:cd C:\home\user\downloads\pr972
Directly call the binary:.\rit.exe --version
or.\rit.exe name of formula
Linux Download the file: rit-linux.zip Unzip to some folder like:
/home/user/downloads/pr972
Access the folder:cd /home/user/downloads/pr972
Assign execute permission to binary:chmod +x ./rit
Directly call the binary:./rit --version
or./rit name of formula
MacOS Download the file: rit-macos.zip Unzip to some folder like:
/home/user/downloads/pr972
Access the folder:cd /home/user/downloads/pr972
Assign execute permission to binary:chmod +x ./rit
Directly call the binary:./rit --version
or./rit name of formula