Skip to content

Commit

Permalink
fix nightly.yaml (pytorch#867)
Browse files Browse the repository at this point in the history
* fix nightly.yaml

* Update nightly.yaml

* Update nightly.yaml

* Update nightly.yaml

* Update nightly.yaml
  • Loading branch information
yikaiMeta authored Mar 30, 2024
1 parent 9a61f71 commit 45bc4ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 45bc4ce

Please sign in to comment.