Skip to content

Commit

Permalink
Create yaml file for ELUC use case CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danyoungday authored Mar 21, 2024
1 parent cd227e4 commit 63a1340
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/eluc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This runs the unit tests for the ELUC use case

name: ELUC Use Case Python Unit Tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Change working directory
run: cd use_cases/eluc
- name: Set PYTHONPATH
run: export PYTHONPATH=$PWD
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run unit tests
run: python -m unittest
- name: Lint with PyLint
run: pylint --ignore="demo" ./*

0 comments on commit 63a1340

Please sign in to comment.