Skip to content

Commit

Permalink
Fix CI Stages
Browse files Browse the repository at this point in the history
Make the `pages` job happen in the `deploy` stage (just the way
GitLab expects it to be), and rename the `deploy` stage `install`.
  • Loading branch information
jmgate committed Sep 22, 2021
1 parent dca0795 commit d36ee93
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ cache: &global_cache
stages:
- prepare
- test
- deploy
- install
- examples
- documentation
- publish
- deploy
- finish


Expand Down Expand Up @@ -118,7 +118,7 @@ flake8:

# Test building a distribution.
build distribution:
stage: deploy
stage: install
needs: ["install requirements"]
timeout: 5m
cache:
Expand All @@ -135,7 +135,7 @@ build distribution:

# Test installation of the package.
install package:
stage: deploy
stage: install
needs: ["install requirements"]
timeout: 5m
cache:
Expand All @@ -161,7 +161,7 @@ sphinx:

# Publish coverage data and documentation (if on the main branch).
pages:
stage: publish
stage: deploy
needs: ["pytest", "sphinx"]
timeout: 5m
cache:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![pipeline status](https://internal.gitlab.server/ShellLogger/ShellLogger/badges/master/pipeline.svg)](https://internal.gitlab.server/ShellLogger/ShellLogger/pipelines)
[![coverage report](https://internal.gitlab.server/ShellLogger/ShellLogger/badges/master/coverage.svg)](http://shelllogger-ci.internal.gitlab.pages/ShellLogger/htmlcov)
[![documentation](https://img.shields.io/badge/docs-latest-green.svg)](http://shelllogger-ci.internal.gitlab.pages/ShellLogger)
[![coverage report](https://internal.gitlab.server/ShellLogger/ShellLogger/badges/master/coverage.svg)](http://shelllogger.internal.gitlab.pages/ShellLogger/htmlcov)
[![documentation](https://img.shields.io/badge/docs-latest-green.svg)](http://shelllogger.internal.gitlab.pages/ShellLogger)

# ShellLogger

Expand Down

0 comments on commit d36ee93

Please sign in to comment.