mirror of
https://github.com/lowobservable/oec.git
synced 2026-02-28 09:18:45 +00:00
29 lines
536 B
YAML
29 lines
536 B
YAML
name: Build
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v4
|
|
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
|