Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move dependencies install to a different step
Browse files Browse the repository at this point in the history
jfcalvo committed Jan 23, 2024
1 parent 1c0e6df commit 518a708
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/run-python-tests.yml
Original file line number Diff line number Diff line change
@@ -50,11 +50,6 @@ jobs:
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v3
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: 3.10.13
cache: true
- name: Set huggingface hub credentials
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/heads/releases')
run: |
@@ -70,12 +65,17 @@ jobs:
run: |
echo "ARGILLA_SEARCH_ENGINE=opensearch" >> "$GITHUB_ENV"
echo "Configure opensearch engine"
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
python-version: 3.10.13
cache: true
- name: Install dependencies
run: pdm install
- name: Run tests 📈
env:
ARGILLA_ENABLE_TELEMETRY: 0
run: |
pmd install
pdm run pytest --cov=argilla --cov-report=xml:${{ env.COVERAGE_REPORT }}.xml ${{ inputs.pytestArgs }} -vs
run: pdm run pytest --cov=argilla --cov-report=xml:${{ env.COVERAGE_REPORT }}.xml ${{ inputs.pytestArgs }} -vs
- name: Upload coverage report artifact
uses: actions/upload-artifact@v3
with:

0 comments on commit 518a708

Please sign in to comment.