Skip to content

Commit

Permalink
[gha] Rename workflows
Browse files Browse the repository at this point in the history
This commit renames the github actions workflows and also
rewords the job names to avoid ambiguity. The badge in the
README.md is updated accordingly.

Signed-off-by: Venu Vardhan Reddy Tekula <venu@bitergia.com>
  • Loading branch information
vchrombie committed Apr 20, 2021
1 parent 226bff4 commit 061696f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
name: toolkit-dist
path: dist

test:
tests:
needs: [build]
runs-on: ubuntu-latest
strategy:
Expand All @@ -52,7 +52,7 @@ jobs:
cd tests && python run_tests.py
release:
needs: [test]
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -70,7 +70,7 @@ jobs:
body_path: ./releases/${{ steps.tag.outputs.tag }}.md

publish:
needs: [test]
needs: [tests]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: tests

on: [push, pull_request]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GrimoireLab Toolkit [![Build Status](https://github.com/chaoss/grimoirelab-toolkit/workflows/build/badge.svg)](https://github.com/chaoss/grimoirelab-toolkit/actions?query=workflow:build+branch:master+event:push) [![Coverage Status](https://img.shields.io/coveralls/chaoss/grimoirelab-toolkit.svg)](https://coveralls.io/r/chaoss/grimoirelab-toolkit?branch=master)
# GrimoireLab Toolkit [![Build Status](https://github.com/chaoss/grimoirelab-toolkit/workflows/tests/badge.svg)](https://github.com/chaoss/grimoirelab-toolkit/actions?query=workflow:tests+branch:master+event:push) [![Coverage Status](https://img.shields.io/coveralls/chaoss/grimoirelab-toolkit.svg)](https://coveralls.io/r/chaoss/grimoirelab-toolkit?branch=master)

Toolkit of common functions used across GrimoireLab projects.

Expand Down

0 comments on commit 061696f

Please sign in to comment.