You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
423 B
25 lines
423 B
1 year ago
|
name: Unit Tests
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout code
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Python
|
||
|
uses: actions/setup-python@v3
|
||
|
with:
|
||
|
python-version: 3.x
|
||
|
|
||
|
- name: Install dependencies
|
||
|
run: pip install -r requirements.txt
|
||
|
|
||
|
- name: Run unit tests
|
||
|
run: pytest tests/
|