diff --git a/.github/actions/run-test/action.yaml b/.github/actions/run-test/action.yaml new file mode 100644 index 0000000..3a0e767 --- /dev/null +++ b/.github/actions/run-test/action.yaml @@ -0,0 +1,23 @@ +name: 'Run Test' +description: 'Clones and Runs a test' +inputs: + url: # id of input + description: 'repo url' + required: true + tests: + description: 'Test Names' +env: + URL: ${{ inputs.url }} + TESTS: ${{ inputs.tests }} +runs: + using: "composite" + steps: + - name: Clone IP + run: git clone ${URL} + - name: Run Test + run: | + for test in $TESTS; do + echo "Running Test $test" + done + + diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index c991147..4c01b11 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -22,6 +22,12 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 + - name: Run Test + uses: ./.github/actions/run-test + with: + url: ${{ matrix.url }} + tests: ${{ matrix.test }} + - name: Print Matrix run: ${{ needs.Prepare-Tests-Matrix.outputs.test }} diff --git a/skeleton/skeleton_agent/skeleton_monitor.py b/skeleton/skeleton_agent/skeleton_monitor.py index 2e2a969..f609ebc 100644 --- a/skeleton/skeleton_agent/skeleton_monitor.py +++ b/skeleton/skeleton_agent/skeleton_monitor.py @@ -25,6 +25,7 @@ async def run_phase(self, phase): # TODO: Add logic to monitor the IP # use self.vif. for monitoring interface signals # self.monitor_port.write(tr) # this is the port to send the transaction after sampling it + # NOTES: how to create transaction pass