Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shah committed May 16, 2024
2 parents 3cd7fb8 + 696c1da commit 0802fed
Show file tree
Hide file tree
Showing 4 changed files with 1,190 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/regression-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- name: Set up timestamp
run: |
echo "TIMESTAMP=$(date +'%Y/%m/%Y-%m-%d-%H-%M-%S')" >> $GITHUB_ENV
echo "DATETIME=$(date +'%Y-%m-%d-%H-%M-%S')" >> $GITHUB_ENV
- name: Create directories and move the result file
run: |
Expand All @@ -39,5 +40,5 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add assurance/1115-waiver/ahc-hrsn/screening/regression-test-prime/fhir-service-prime/results/${{ env.TIMESTAMP }}/fhir-service-result.txt
git commit -m "Add regression test result at ${{ env.TIMESTAMP }}"
git commit -m "add: regression test result at ${{ env.DATETIME }}"
git push
22 changes: 19 additions & 3 deletions assurance/1115-waiver/ahc-hrsn/screening/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# 1115 Waiver HRSN Screening Assurance Results

Directories:
- `regression-test-prime/fhir-service-prime/src`
- `regression-test-prime/fhir-service-prime/results/YYYY/MM/YYYY-MM-DD-HH-MM-SS`
## Overview
This repository includes a manual executable GitHub Actions workflow specifically designed for regression testing. Users can execute this workflow to validate changes and ensure the integrity of updates.

## Running the Regression Tests
To run the regression tests, you can trigger the manual GitHub Actions workflow available in this repository. The results of the tests are structured and stored as follows:

- Source files: `regression-test-prime/fhir-service-prime/src`
- Test results: `regression-test-prime/fhir-service-prime/results/YYYY/MM/YYYY-MM-DD-HH-MM-SS`

Below is a screenshot illustrating how to manually execute this workflow:

![Execution Screenshot](regression-test-prime/fhir-service-prime/docs/images/regression-test-screenshot.png)

This screenshot provides a visual guide to running the regression tests, showing the necessary steps and expected outputs.

## Directory Structure
The repository maintains a clear directory structure for ease of navigation and management:
- **Source Directory**: Contains all source files necessary to run the tests.
- **Results Directory**: Stores test results in a timestamped folder format, allowing easy tracking of test executions over time.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0802fed

Please sign in to comment.