Skip to content

Make style check

Make style check #36

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
Test-Python-3-8-10-TF-2-6-1:
runs-on: ubuntu-latest
container: tensorflow/tensorflow:2.6.1
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Show python version
run: python -V
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: find . -type f -name "*.py" | xargs pylint
- name: Analysing the code with ruff
run: ruff check .
- name: Test with unittest
run: |
python -m unittest
Test-Python-3-11-0rc1-TF-2-16-1:
runs-on: ubuntu-latest
container: tensorflow/tensorflow:2.16.1
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Show python version
run: python -V
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint
- name: Analysing the code with pylint
run: find . -type f -name "*.py" | xargs pylint
- name: Analysing the code with ruff
run: ruff check .
- name: Test with unittest
run: |
python -m unittest