Skip to content

Commit ba32e99

Browse files
committed
add unit test workflow step
1 parent f42ac0e commit ba32e99

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release-udp-exporter.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ jobs:
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip
28-
pip install hatch pytest
28+
pip install hatch pytest flask
2929
3030
- name: Build package
3131
working-directory: exporters/aws-otel-otlp-udp-exporter
3232
run: hatch build
3333

3434
# TODO: Add unit tests step
35+
- name: Ensure Unit Tests are passing
36+
run: |
37+
pytest exporters/aws-otel-otlp-udp-exporter/tests/test_exporter.py
3538
3639
- name: Download and run X-Ray Daemon
3740
run: |
@@ -45,10 +48,6 @@ jobs:
4548
run: |
4649
pip install ./exporters/aws-otel-otlp-udp-exporter/dist/*.whl
4750
48-
- name: Install Flask
49-
run: |
50-
pip install flask
51-
5251
- name: Run Sample App in Background
5352
working-directory: sample-applications/integ-test-app
5453
run: |

0 commit comments

Comments
 (0)