Skip to content

Commit

Permalink
ci: remove coverage upload workflow
Browse files Browse the repository at this point in the history
This is not relevant since tests can only run with arcpy.
  • Loading branch information
stdavis authored Jun 10, 2024
1 parent 03c7765 commit 7f70438
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,41 +31,3 @@ jobs:
github-app-key: ${{ secrets.UGRC_RELEASE_BOT_APP_KEY }}
github-app-name: ${{ secrets.UGRC_RELEASE_BOT_NAME }}
github-app-email: ${{ secrets.UGRC_RELEASE_BOT_EMAIL }}

upload-coverage:
name: Upload coverage
runs-on: ubuntu-latest
needs: release-please
if: needs.release-please.outputs.release_created

steps:
- name: ⬇️ Set up code
uses: actions/checkout@v4
with:
show-progress: false

- name: 🐍 Set up Python
uses: actions/setup-python@v5
with:
cache: pip
cache-dependency-path: setup.py

- name: 📥 Install arcgis dependencies
run: |
sudo apt-get update
sudo apt-get install -y libkrb5-dev
- name: 🏗 Install module
run: pip install .[tests]

- name: ⚙️ Add config file
run: cp config.sample.json config.json

- name: 🧪 Run tests
run: pytest

- name: ⬆️ Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./cov.xml

0 comments on commit 7f70438

Please sign in to comment.