Skip to content

Commit

Permalink
Merge pull request #289 from tartiflette/bubu/sonar_before_push_on_ma…
Browse files Browse the repository at this point in the history
…ster

Move sonar analisys before pypi push
  • Loading branch information
abusi committed Sep 12, 2019
2 parents b9273f2 + 5c727fc commit ce66a31
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/push_on_master.yml
Expand Up @@ -24,16 +24,16 @@ jobs:
uses: actions/docker/cli@master
with:
args: run -i tartiflette make test-unit
- name: build and publish to pypi
uses: ./.github/actions/pypi/
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: build and publish to pypi
uses: ./.github/actions/pypi/
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
- name: set version and changelog
uses: ./.github/actions/shell/
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit ce66a31

Please sign in to comment.