Skip to content

Commit

Permalink
Merge pull request #17 from google/pypi_fix
Browse files Browse the repository at this point in the history
Add pip install wheel to fix publish workflow
  • Loading branch information
MarinaZhang authored May 22, 2024
2 parents 6273159 + 6ea9127 commit d6640c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade wheel
- name: Install package
run: |
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ jobs:
- name: Test with pytest
run: |
coverage run -m pytest tests/
- name: Upload coverage to Coveralls
if: ${{ github.ref == 'refs/heads/main' }}
run: |
coveralls -i --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: ${{ matrix.python-version }}
COVERALLS_PARALLEL: true
- name: Check black formatting
uses: psf/black@stable
Expand All @@ -58,22 +50,3 @@ jobs:
version: "22.10.0"
- name: Check isort
uses: isort/isort-action@master

coveralls:

name: Indicate completion to coveralls.io
needs: test
runs-on: ubuntu-latest

steps:
- name: Install dependencies
if: ${{ github.ref == 'refs/heads/main' }}
run: |
python -m pip install --upgrade pip
pip install coveralls
- name: Finished
if: ${{ github.ref == 'refs/heads/main' }}
run: |
coveralls -i --service=github --finish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d6640c2

Please sign in to comment.