diff --git a/.github/workflows/argilla-v1.yml b/.github/workflows/argilla-v1.yml index e6e77bf01ab..106bcb619b5 100644 --- a/.github/workflows/argilla-v1.yml +++ b/.github/workflows/argilla-v1.yml @@ -68,27 +68,6 @@ jobs: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ env.CACHE_NUMBER }}-${{ hashFiles('pyproject.toml') }} - - name: Set huggingface hub credentials - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/releases') - run: | - echo "HF_HUB_ACCESS_TOKEN=${{ secrets.HF_HUB_ACCESS_TOKEN }}" >> "$GITHUB_ENV" - echo "Enable HF access token" - - - name: Run unit tests 📈 - run: | - pip install -e ".[server,listeners]" - pytest tests/unit -vs - - - name: Run tests with pandas v2 📈 - run: | - pip install "pandas~=2.0" pytest-custom_exit_code - pytest --suppress-no-test-exit-code tests/unit -vs - - - name: Run tests with pydantic v2 📈 - run: | - pip install "pydantic~=2.0" pytest-custom_exit_code - pytest --suppress-no-test-exit-code tests/unit -vs - - name: Build Package 🍟 run: | pip install -U build