From fa76fcc96cbd024171a3f4f4ecd1a6e03f1c09b1 Mon Sep 17 00:00:00 2001 From: edwinnglabs Date: Fri, 15 Mar 2024 01:08:24 -0700 Subject: [PATCH] rename lint and test to build in github action rename lint and test to build in github action for cosmetics --- .github/workflows/{format_and_test.yaml => build.yaml} | 5 +++-- README.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) rename .github/workflows/{format_and_test.yaml => build.yaml} (96%) diff --git a/.github/workflows/format_and_test.yaml b/.github/workflows/build.yaml similarity index 96% rename from .github/workflows/format_and_test.yaml rename to .github/workflows/build.yaml index 2683797..0957cef 100644 --- a/.github/workflows/format_and_test.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,5 @@ -name: lint and test +name: build +# lint and run unit tests on: [push] @@ -12,7 +13,7 @@ jobs: options: "--check --verbose --color" jupyter: false - build: + test: runs-on: ubuntu-latest needs: lint strategy: diff --git a/README.md b/README.md index b9f57be..12f2139 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![build](https://github.com/edwinnglabs/karpiu/actions/workflows/format_and_test.yaml/badge.svg)](https://github.com/edwinnglabs/karpiu/actions/workflows/format_and_test.yaml) +[![build](https://github.com/edwinnglabs/karpiu/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/edwinnglabs/karpiu/actions/workflows/build.yaml) [![pages](https://github.com/edwinnglabs/karpiu/actions/workflows/pages.yaml/badge.svg?branch=main)](https://github.com/edwinnglabs/karpiu/actions/workflows/pages.yaml) # Karpiu