ci: test action added
This commit is contained in:
parent
522fe2a6da
commit
7038313d7e
22
.github/workflows/test.yml
vendored
Normal file
22
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Run tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up Python 3.8
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.8
|
||||||
|
- name: Upgrade pip
|
||||||
|
run: python -m pip install --upgrade pip setuptools
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
pip install .[dev]
|
||||||
|
- name: Test lint, types, and format
|
||||||
|
run: make test
|
||||||
Loading…
x
Reference in New Issue
Block a user