Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
baseplate-admin authored Oct 29, 2024
1 parent 0e6b6d4 commit 93b1afb
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@ jobs:
- name: Run tests
run: |
poetry run pytest -v -x tests/
- name: Upload entire workspace
uses: actions/upload-artifact@v4
with:
name: workspace
path: .
# retention-days: 1

# - name: Upload pytest test results
# uses: actions/upload-artifact@v2
# with:
Expand Down Expand Up @@ -94,9 +101,15 @@ jobs:
with:
virtualenvs-create: true
virtualenvs-in-project: true
# Download the entire workspace
- name: Download workspace
uses: actions/download-artifact@v4
with:
name: workspace
path: .

- name: Install python dependencies
run: |
poetry install --sync --no-interaction --no-root --with test
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
- name: Publish
Expand Down

0 comments on commit 93b1afb

Please sign in to comment.