From 0fc866aa7f82b265e61ea38c8ca20995ad3aafbf Mon Sep 17 00:00:00 2001 From: Kevin Lang Date: Thu, 18 Mar 2021 15:28:12 -0400 Subject: [PATCH 1/2] add CI badge #7 --- .github/workflows/main.yml | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0319dc0..9815fa1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ name: Main Workflow -on: pull_request +on: [push, pull_request] jobs: test-elixir: runs-on: ubuntu-latest diff --git a/README.md b/README.md index a508df7..1a2ab5f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Ecto SQLite3 Adapter +[![Build Status](https://github.com/elixir-sqlite/ecto_sqlite3/workflows/main/badge.svg)](https://github.com/elixir-sqlite/ecto_sqlite3/actions) + An Ecto SQLite3 Adapter. From 05cdd88de0ca175ffb72c6450677e01ab6349070 Mon Sep 17 00:00:00 2001 From: Kevin Lang Date: Thu, 18 Mar 2021 15:31:47 -0400 Subject: [PATCH 2/2] fix ci badge link --- .github/workflows/{main.yml => ci.yml} | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{main.yml => ci.yml} (96%) diff --git a/.github/workflows/main.yml b/.github/workflows/ci.yml similarity index 96% rename from .github/workflows/main.yml rename to .github/workflows/ci.yml index 9815fa1..5b0f3c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Main Workflow +name: CI on: [push, pull_request] jobs: test-elixir: diff --git a/README.md b/README.md index 1a2ab5f..c1b15c3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Ecto SQLite3 Adapter -[![Build Status](https://github.com/elixir-sqlite/ecto_sqlite3/workflows/main/badge.svg)](https://github.com/elixir-sqlite/ecto_sqlite3/actions) +[![Build Status](https://github.com/elixir-sqlite/ecto_sqlite3/workflows/CI/badge.svg)](https://github.com/elixir-sqlite/ecto_sqlite3/actions) An Ecto SQLite3 Adapter.