forked from third-party-mirrors/zfs_autobackup
35 lines
626 B
YAML
35 lines
626 B
YAML
name: Regression tests
|
|
|
|
|
|
on: ["push", "pull_request"]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
ubuntu16:
|
|
runs-on: ubuntu-16.04
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2.3.4
|
|
|
|
- name: Prepare
|
|
run: sudo apt-get install zfsutils-linux && sudo -H pip3 install coverage unittest2 mock==3.0.5 setuptools coveralls
|
|
|
|
|
|
- name: Regression test
|
|
run: sudo -E ./run_tests
|
|
|
|
|
|
- name: Coveralls
|
|
uses: coverallsapp/github-action@master
|
|
with:
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|
|