mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-13 15:27:20 +00:00
24 lines
531 B
YAML
24 lines
531 B
YAML
name: Build
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
name: Build
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install pylint
|
|
pip install -r requirements.txt --no-deps
|
|
- name: Run linter
|
|
run: pylint -E oec
|
|
- name: Run unit tests
|
|
run: ./run_unit_tests.sh
|