Skip to content

Commit b2512d1

Browse files
committed
build work
1 parent 46f6ab1 commit b2512d1

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

.github/workflows/build-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
TEST_API_KEY:
1414
required: true
1515
push:
16+
branches:
17+
- "*"
1618

1719
jobs:
1820
call-unit-tests-coverage:

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
- name: Execute Unit Tests
5050
run: |
5151
export PYTHONPATH=$(pwd)
52+
echo "__version__='0.0.0'" > cxone_api/__version__.py
5253
python3 -m build
5354
pip3 install -r ./cxone_api.egg-info/requires.txt
5455
coverage run -m unittest -f -v

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
steps:
6464
- name: Fetch Code
6565
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
66-
66+
6767
- name: Set Version
6868
if: ${{ inputs.version != '' }}
6969
run: |

tests/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ async def oauth_task():
6666
await asyncio.gather(asyncio.create_task(oauth_task()), asyncio.create_task(apikey_task()))
6767

6868
def assert_response_ok(self, response, client):
69+
if not response.ok:
70+
print(response.text)
6971
self.assertTrue(response.ok)

0 commit comments

Comments
 (0)