Skip to content

feat: add pre commit and ci #1

feat: add pre commit and ci

feat: add pre commit and ci #1

name: unittest on push
on:
pull_request:
push:
branches:
- master
- release
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Prepare the repo
uses: actions/checkout@master
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install packages
run: pip install -r test/unittest/test_requirements.txt
- name: Test
run: bash test/unittest/test_all.sh