24 lines
450 B
YAML
24 lines
450 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup working directory
|
|
run: |
|
|
pwd
|
|
ls -la
|
|
|
|
- name: Setup Python
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
python3 --version
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip3 install -r requirements.txt
|
|
|
|
- name: Run tests
|
|
run: |
|
|
pytest3 tests/ -v |