From 25a14696757491e3173160fff8fd1e9b0c503c61 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 23 Aug 2019 10:32:16 -0300 Subject: Migrate github actions --- .github/workflows/push.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/push.yml (limited to '.github/workflows/push.yml') diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..6381eb5 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,26 @@ +on: push +name: Build +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Test + uses: ./.github/action + with: + args: test + - name: Coverage + uses: ./.github/action + with: + args: cloverage --junit + - name: Package + uses: ./.github/action + with: + args: package + - name: Deploy to pages + uses: JamesIves/github-pages-deploy-action@master + env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: public -- cgit v1.2.3