-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from tartiflette/bubu/update_github_workflow
Update github workflow to only one build.
- Loading branch information
Showing
5 changed files
with
58 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,41 @@ | ||
on: [push, pull_request] | ||
on: [push] | ||
name: check and build | ||
jobs: | ||
build_publish_and_release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: build docker image | ||
uses: actions/docker/cli@master | ||
with: | ||
args: build -t tartiflette-aiohttp . | ||
- name: complexity | ||
uses: actions/docker/cli@master | ||
with: | ||
args: run -i tartiflette-aiohttp make complexity | ||
- name: style | ||
uses: actions/docker/cli@master | ||
with: | ||
args: run -i tartiflette-aiohttp make style | ||
- name: integration test | ||
uses: actions/docker/cli@master | ||
uses: ./ | ||
with: | ||
args: run -i tartiflette-aiohttp make test-integration | ||
args: make style | ||
- name: functional test | ||
uses: actions/docker/cli@master | ||
uses: ./ | ||
with: | ||
args: run -i tartiflette-aiohttp make test-functional | ||
args: make test-functional | ||
- name: unit test | ||
uses: actions/docker/cli@master | ||
uses: ./ | ||
with: | ||
args: run -i tartiflette-aiohttp make test-unit | ||
args: make test-unit | ||
- name: integration test | ||
uses: ./ | ||
with: | ||
args: make test-integration | ||
- name: build and publish to pypi | ||
uses: ./.github/actions/pypi/ | ||
if: github.ref != 'refs/heads/master' | ||
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' | ||
with: | ||
entrypoint: make | ||
args: github-action-version-and-changelog | ||
- name: release | ||
uses: ./.github/actions/release/ | ||
if: github.ref == 'refs/heads/master' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPOSITORY: tartiflette-aiohttp | ||
USERNAME: tartiflette |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [1.1.1] - 2019-10-15 | ||
|
||
## Changed | ||
|
||
- Github actions worflow. There is now only one. | ||
- xenon updated to 0.7.0 | ||
- pytest updated to 5.2.1 | ||
- pytest-cov updated to 2.8.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters