Skip to content

Commit ec2d2a6

Browse files
committed
made tests part of the package
1 parent e64e9af commit ec2d2a6

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

.github/actions/validate/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ FROM python:3
33

44
# Copies your code file from your action repository to the filesystem path `/` of the container
55
COPY entrypoint.sh /entrypoint.sh
6-
COPY bxml_tests.py /bxml_tests.py
7-
COPY api_tests.py /api_tests.py
86

97
#Make entrypoint.sh exacutable
108
RUN chmod +x /entrypoint.sh
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22

3-
pip install -e .
4-
python /bxml_tests.py
5-
python /api_tests.py
3+
pip install -r requirements.txt
4+
python -m unittest tests.integration.bxml_tests
5+
python -m unittest tests.integration.api_tests

.gitkeep

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
README.md
22
bandwidth/voice/bxml/*
33
bandwidth/webrtc/utils/*
4+
tests/integration/*

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ jsonpickle~=1.4, >= 1.4.1
33
cachecontrol~=0.12.6
44
python-dateutil~=2.8.1
55
enum34~=1.1, >=1.1.10
6+
lxml==4.6.2

tests/integration/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)