Skip to content

Commit

Permalink
ci/cd: Update badge links and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mohkale committed May 29, 2022
1 parent 8f36fed commit 46afe13
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 14 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/build.yml → .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: build
name: lint

on:
push:
Expand All @@ -10,17 +10,6 @@ on:
- cron: "0 13 * * *"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_branch: [emacs-28, master]

steps:
- uses: actions/checkout@v2
- name: Run test suite
run: make test EMACS_BRANCH="${{ matrix.emacs_branch }}"

lint:
runs-on: ubuntu-latest
strategy:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: test

on:
push:
branches: release
pull_request:
branches: release
schedule:
- cron: "0 13 * * *"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
emacs_branch: [emacs-28, master]

steps:
- uses: actions/checkout@v2
- name: Run test suite
run: make test EMACS_BRANCH="${{ matrix.emacs_branch }}"
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#+AUTHOR: Mohsin Kaleem

#+html: <p align="right">
#+html: <a href="https://github.com/mohkale/flymake-collection" alt="lint" style="margin-right: 4px;"><img src="https://github.com/mohkale/flymake-collection/workflows/lint/badge.svg" /></a>
#+html: <a href="https://github.com/mohkale/flymake-collection" alt="lint" style="margin-right: 4px;"><img src="https://github.com/mohkale/flymake-collection/workflows/test/badge.svg" /></a>
#+html: <a href="https://github.com/mohkale/flymake-collection" alt="lint" style="margin-right: 4px;"><img src="https://github.com/mohkale/flymake-collection/actions/workflows/lint.yml/badge.svg" /></a>
#+html: <a href="https://github.com/mohkale/flymake-collection" alt="lint" style="margin-right: 4px;"><img src="https://github.com/mohkale/flymake-collection/actions/workflows/test.yml/badge.svg" /></a>
#+html: <a href="https://melpa.org/#/flymake-collection"><img align="center" alt="MELPA" src="https://melpa.org/packages/flymake-collection-badge.svg"/></a>
#+html: </p>

Expand Down

0 comments on commit 46afe13

Please sign in to comment.