File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 3636 tox -re lint
3737 - name : Run unittests
3838 run : |
39- tox -re test-cpu
39+ ref_type=${{ github.ref_type }}
40+ branch=main
41+ if [[ $ref_type == "tag"* ]]
42+ then
43+ raw=$(git branch -r --contains ${{ github.ref_name }})
44+ branch=${raw/origin\/}
45+ fi
46+ tox -e test-cpu -- $branch
4047 - name : Generate package for pypi
4148 run : |
4249 python setup.py sdist
Original file line number Diff line number Diff line change 1616 -rrequirements/base.txt
1717 -rrequirements/dev.txt
1818commands =
19- python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git
20- python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/nvtabular.git
19+ echo {posargs:main}
20+ python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/core.git@{posargs:main}
21+ python -m pip install --upgrade git+https://github.com/NVIDIA-Merlin/nvtabular.git@{posargs:main}
2122 python -m pip install -e .[all]
2223 python -m pip install fsspec ==2022.5.0
2324 python -m pytest --cov-report term --cov =merlin -rxs tests/unit
You can’t perform that action at this time.
0 commit comments