Skip to content

Merge pull request #20 from danyoungday/remove-download-sdk #46

Merge pull request #20 from danyoungday/remove-download-sdk

Merge pull request #20 from danyoungday/remove-download-sdk #46

Workflow file for this run

# This runs the unit tests for the En-ROADS use case
name: enroads Use Case
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: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint flake8
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# Temporarily disabled until we sort out S3 access
# - name: Download En-ROADS sdk
# run: python -m enroadspy.load_sdk
- name: Lint with PyLint
run: pylint .
- name: Lint with Flake8
run: flake8
# - name: Run unit tests
# run: python -m unittest