diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..704f23c6 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,22 @@ +name: pacapt-tests + +on: + push: + branches-ignore: + - no-we-want-to-run-check-on-all-branches + +jobs: + smoke-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: shellcheck + run: | + sudo apt-get install libjson-perl liburi-perl + make shellcheck + + - name: tests + run: make tests diff --git a/README.md b/README.md index a7463244..85985fdd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## `pacapt` - An `ArchLinux`'s pacman-like wrapper for many package managers -[![Build Status](https://travis-ci.org/icy/pacapt.svg?branch=ng)](https://travis-ci.org/icy/pacapt) +[![Build Status](https://github.com/icy/pacapt/actions)](https://github.com/icy/pacapt/actions/workflows/ci.yaml/badge.svg) `pacapt` is a wrapper for many package managers. Simply install package with `pacapt -S htop` or `pacapt install htop`