Merge pull request #21 from mghosh00/java-package #261
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Style tests (flake8) | |
on: | |
push: | |
branches: [ "master", "java-package" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
name: style test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install pyNeuralNetwork/. | |
python -m pip install pyNeuralNetwork/.[dev] | |
- name: Run style tests | |
run: | | |
python -m flake8 |