From 45bc4cea9b3b42045cf90b5776dc46ebe61a6379 Mon Sep 17 00:00:00 2001 From: yikaiMeta <116014337+yikaiMeta@users.noreply.github.com> Date: Sat, 30 Mar 2024 00:21:30 -0400 Subject: [PATCH] fix nightly.yaml (#867) * fix nightly.yaml * Update nightly.yaml * Update nightly.yaml * Update nightly.yaml * Update nightly.yaml --- .github/workflows/nightly.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index edecbce99..e76b7d9a3 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -7,12 +7,12 @@ on: jobs: nightly: - runs-on: ubuntu-20.04 + runs-on: linux.20_04.4x steps: - - name: Setup Python 3.8 + - name: Setup Python 3.10 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: '3.10' architecture: x64 - name: Checkout TorchX uses: actions/checkout@v2 @@ -22,7 +22,7 @@ jobs: pip install -e .[dev] pip install twine - name: Run tests - run: python -m unittest discover --verbose --start-directory . --pattern "*_test.py" + run: pytest --cov=./ --cov-report=xml - name: Push nightly env: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}