Skip to content

Update CI to Python 3.10 #15

Update CI to Python 3.10

Update CI to Python 3.10 #15

Workflow file for this run

name: Unit test and code coverage (Ubuntu)
on:
push:
paths-ignore:
- '**.md'
- '**.yml'
- 'docs/**'
pull_request:
paths-ignore:
- '**.md'
- '**.yml'
- 'docs/**'
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.10"]
steps:
- name: Checkout
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==24.0" "setuptools<65"
pip install pytest coverage coveralls
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True pip install -r docker_requirements.txt
pip install .[full]
python -m nltk.downloader omw-1.4
python -m pip cache purge
- name: Test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: |
coverage run -m unittest discover
coveralls