Skip to content

Commit

Permalink
Merge pull request #36 from eredotpkfr/ci-cd
Browse files Browse the repository at this point in the history
feat: add ci-cd workflow for tests
  • Loading branch information
artfwo authored Jan 4, 2024
2 parents 846876a + e801575 commit a8150ec
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
push:
branches: [ '*' ]
pull_request:
branches: [ master ]

jobs:

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install required packages
run: sudo apt-get install libmagickwand-dev

- name: Build
run: ./waf configure && ./waf

- name: Test
run: ./test.sh
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Tests](https://github.com/commonsmachinery/blockhash/actions/workflows/test.yml/badge.svg)

blockhash
=========

Expand Down

0 comments on commit a8150ec

Please sign in to comment.