Skip to content

Commit

Permalink
CI GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed Aug 19, 2024
1 parent fabdbe5 commit 9f88d52
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ jobs:
conda install -y conda-forge::nccl
pip install --extra-index-url=https://pypi.nvidia.com cudf-cu12
pip install ucx-py-cu12 cloudpickle psutil tblib uvloop packaging "numpy<2.0.0" scipy cython coverage flaky
# python setup.py clean --all
# pip install -e ./
python setup.py clean --all
pip install -e ./
working-directory: ./python

- name: Test with pytest
Expand All @@ -155,15 +155,6 @@ jobs:
pytest -m cuda --cov-config=setup.cfg --cov-report=xml --cov=xoscar --capture=no
fi
working-directory: ./python

- name: Test with pytest GPU
if: ${{ matrix.module == 'gpu' }}
run: |
source activate xoscar-test
pytest -m cuda \
--cov-config=setup.cfg --cov-report=xml \
--cov=xoscar --capture=no
working-directory: ./python

- name: Report coverage data
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 9f88d52

Please sign in to comment.