Skip to content

Add CIFAR10 GeneticCNN example from section 4.2 #50

Add CIFAR10 GeneticCNN example from section 4.2

Add CIFAR10 GeneticCNN example from section 4.2 #50

Workflow file for this run

name: "Code linter check and unit tests"
on: [push, pull_request]
jobs:
main:
name: Check code formatting and run unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install flit
run: |
python -m pip install --upgrade pip
python -m pip install 'flit>=3.8.0'
- name: Install project dependencies
run: |
flit install --deps develop --extras tensorflow,xgboost
- name: Run isort
run: |
isort --check src/
isort --check tests/
- name: Run black
run: |
black --check src/
black --check tests/
- name: Run pytest
run: |
pytest
- name: Run pylint
run: |
pylint src/ || true