Skip to content

Remove loading chr sizes from file #67

Remove loading chr sizes from file

Remove loading chr sizes from file #67

Workflow file for this run

# This workflow installs Gens and runs test suite
name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
python-unit-tests:
name: Coverage
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
mongodb-version: ["7"]
steps:
- uses: actions/checkout@v4
# Set up python
- name: Set up Python ${{ matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements-dev.txt
- name: Run unit-tests and coveralls
# TODO reenable pytest tests when there are some
run: |
coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
js-unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [17.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test
pylint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install -r requirements-dev.txt
- name: Analysing the code with pylint
run: |
pylint --fail-under 9 gens