From 82ca4c3feb08dbbbae0636a0a2a294323952f477 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 4 Mar 2021 06:41:52 +0000 Subject: tests: switch to builds.sr.ht from github FossilOrigin-Name: a506e1252474a223e5d0e4208d714f8d0991732f0e5d5b2fa7af6dfd599e6e09 --- .build.yml | 9 +++++++++ .github/workflows/main.yml | 18 ------------------ 2 files changed, 9 insertions(+), 18 deletions(-) create mode 100644 .build.yml delete mode 100644 .github/workflows/main.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..62ca94c --- /dev/null +++ b/.build.yml @@ -0,0 +1,9 @@ +image: alpine/edge +packages: + - curl +tasks: + - build: | + make + - test: | + curl -fsSL https://git.io/shellspec | sh -s -- -y + make test diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index b9bcbbe..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: main -on: [push, pull_request] -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Run make - run: make - test: - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/checkout@v1 - - name: Install shellspec - run: curl -fsSL https://git.io/shellspec | sudo sh -s -- -p /usr/local -y - - name: Run tests - run: make test -- cgit v1.2.3