Skip to content

Commit

Permalink
ci(i): Fix the pull_request trigger and ci badge (#1922)
Browse files Browse the repository at this point in the history
## Relevant issue(s)
Resolves #1921

## Description
- Fix workflow badge to the new workflow name
- Fix the omitted pull_request trigger
  • Loading branch information
shahzadlone authored Oct 2, 2023
1 parent 4c3df48 commit 3f9decc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@
# by the Apache License, Version 2.0, included in the file
# licenses/APL.txt.

name: Run Tests And Upload Coverage Workflow
name: Test And Upload Coverage Workflow

on:
pull_request:
branches:
- master
- develop

push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
Expand Down Expand Up @@ -80,9 +85,9 @@ jobs:
name: Upload test code coverage job

runs-on: ubuntu-latest

needs: run-tests

steps:
- name: Checkout code into the directory
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Tests Workflow](https://github.com/sourcenetwork/defradb/actions/workflows/run-tests.yml/badge.svg)
![Tests Workflow](https://github.com/sourcenetwork/defradb/actions/workflows/test-and-upload-coverage.yml/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/sourcenetwork/defradb)](https://goreportcard.com/report/github.com/sourcenetwork/defradb)
[![codecov](https://codecov.io/gh/sourcenetwork/defradb/branch/develop/graph/badge.svg?token=RHAORX13PA)](https://codecov.io/gh/sourcenetwork/defradb)
[![Discord](https://img.shields.io/discord/427944769851752448.svg?color=768AD4&label=discord&logo=https%3A%2F%2Fdiscordapp.com%2Fassets%2F8c9701b98ad4372b58f13fd9f65f966e.svg)](https://discord.source.network/)
Expand Down

0 comments on commit 3f9decc

Please sign in to comment.