From 9f88d52b01b1cf96262e373e97f0f7c0a7aeb1ca Mon Sep 17 00:00:00 2001 From: Lu Weizheng Date: Mon, 19 Aug 2024 21:30:23 +0800 Subject: [PATCH] CI GPU --- .github/workflows/python.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 09bc235..fd1304c 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -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 @@ -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