aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/push.yml
blob: 6381eb596ca98cb158163671e12999d9fdeaba00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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