mirror of
https://github.com/lowobservable/oec.git
synced 2026-01-11 23:53:04 +00:00
GitHub Actions maintenance
This commit is contained in:
parent
aa0dd5a9c5
commit
f863ec1261
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -4,20 +4,25 @@ on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v2
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user