Skip to content

Commit

Permalink
Merge pull request #870 from stripe/anniel-coveralls-update
Browse files Browse the repository at this point in the history
Move coveralls step to be conditionally executed under test
  • Loading branch information
anniel-stripe authored Aug 25, 2022
2 parents f5fb273 + 5cd4572 commit fcf1832
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,11 @@ jobs:
- name: Test with pytest
run: make test-gh-actions

coveralls:
name: Coveralls
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Start stripe-mock
run: docker run -d -p 12111-12112:12111-12112 stripe/stripe-mock && sleep 5

- name: Calculate and publish coverage
run: make coveralls
env:
python-version: "3.10"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Calculate and publish coverage
run: make coveralls
if: matrix.python-version == '3.10'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish:
name: Publish
Expand Down

0 comments on commit fcf1832

Please sign in to comment.