mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
got rid of tox
This commit is contained in:
parent
da3b753b46
commit
a249ba1374
1 changed files with 6 additions and 11 deletions
17
.github/workflows/unit_tests.yml
vendored
17
.github/workflows/unit_tests.yml
vendored
|
|
@ -7,7 +7,8 @@ on:
|
|||
|
||||
|
||||
jobs:
|
||||
test:
|
||||
test-docker:
|
||||
name: Tests (Docker)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
@ -18,14 +19,8 @@ jobs:
|
|||
run: docker build -f Dockerfile.test -t model-test .
|
||||
|
||||
- name: Run tests
|
||||
env:
|
||||
EPC_AUTH_TOKEN: ${{ secrets.DEV_EPC_AUTH_TOKEN }}
|
||||
HUBSPOT_API_KEY: ${{ secrets.HUBSPOT_API_KEY }}
|
||||
|
||||
run: |
|
||||
# docker run --rm \
|
||||
# -e EPC_AUTH_TOKEN=${{ secrets.DEV_EPC_AUTH_TOKEN }} \
|
||||
# -e HUBSPOT_API_KEY=${{ secrets.HUBSPOT_API_KEY }} \
|
||||
# model-test pytest -m 'not integration'
|
||||
|
||||
make test ARGS="-m 'not integration'"
|
||||
docker run --rm \
|
||||
-e EPC_AUTH_TOKEN=${{ secrets.DEV_EPC_AUTH_TOKEN }} \
|
||||
-e HUBSPOT_API_KEY=${{ secrets.HUBSPOT_API_KEY }} \
|
||||
model-test pytest -m 'not integration'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue