mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
24 lines
475 B
YAML
24 lines
475 B
YAML
name: pytest
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.7
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.7
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt install libgl1-mesa-glx libegl1
|
|
python -m pip install --upgrade pip
|
|
pip install .
|
|
pip install pytest
|
|
- name: Run Unittests with pytest
|
|
run: |
|
|
pytest .
|