Skip to content

Allowing pypi workflow for public version, removing -dev tag from pub… #5

Allowing pypi workflow for public version, removing -dev tag from pub…

Allowing pypi workflow for public version, removing -dev tag from pub… #5

Workflow file for this run

name: CI Lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
CI-Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Checkout this Repo
uses: actions/checkout@v4
with:
path: antares
- name: Install flake8
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Lint with flake8
run: |
cd antares
flake8 antares/ --count --max-line-length=190 --statistics --verbose