fix: correct typo in pytest command in workflow file #8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Display version | |
| on: | |
| push: | |
| branches: [ "dev", "main", "alpha", "beta" ] | |
| pull_request: | |
| branches: [ "dev", "main", "alpha", "beta" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.x' | |
| cache: 'pip' # caching pip dependencies | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install build "setuptools-git-versioning>=2,<3" | |
| pip install torch --index-url https://download.pytorch.org/whl/cpu | |
| - name: Display version | |
| run: | | |
| setuptools-git-versioning -v >> $GITHUB_STEP_SUMMARY |