Make style check #35
Workflow file for this run
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: 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: 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: Test with unittest | |
run: | | |
python -m unittest |