Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 27, 2021
1 parent fd77cc0 commit 98118a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: |
pip install -U pip pipenv wheel cython dearpygui
pip install -U pip pipenv wheel cython
pipenv lock
pipenv sync -d
pipenv run pip install .
pipenv run pytest --cov=Aspidites --cov-report=xml
rm -rf Pipfile.lock
Expand Down Expand Up @@ -73,9 +74,10 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: |
pip install -U pip pipenv wheel cython dearpygui
pip install -U pip pipenv wheel cython
pipenv lock
pipenv sync -d
pipenv run pip install .
pipenv run pytest
rm -rf Pipfile.lock
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: |
pip install -U pip pipenv wheel cython dearpygui
pip install -U pip pipenv wheel cython
pipenv lock
pipenv sync -d
pipenv run pip install .
pipenv run pytest -v -x --cov=Aspidites --cov-report=xml --profile --profile-svg
rm -rf Pipfile.lock
Expand Down Expand Up @@ -80,9 +81,10 @@ jobs:
with:
python-version: "${{ matrix.python }}"
- run: |
pip install -U pip pipenv wheel cython dearpygui
pip install -U pip pipenv wheel cython
pipenv lock
pipenv sync -d
pipenv run pip install .
pipenv run pytest -v -x --profile
rm -rf Pipfile.lock
- name: Archive production artifacts
Expand Down
4 changes: 2 additions & 2 deletions Aspidites/tests/test_aspidites.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
except ImportError:
from math import inf, nan, isinf, isnan

from .._vendor.contracts import ContractNotRespected
from ..__main__ import get_cy_kwargs, main
from Aspidites._vendor.contracts import ContractNotRespected
from Aspidites.api.__main__ import get_cy_kwargs, main
from Aspidites.api.parser import (
parse_module,
func_def,
Expand Down

0 comments on commit 98118a2

Please sign in to comment.