Skip to content

Version up the several dependencies #73

Version up the several dependencies

Version up the several dependencies #73

Workflow file for this run

name: ko_lm_dataformat
on: [pull_request]
jobs:
check-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Cache pip
uses: actions/cache@v3
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements-dev.txt
- name: Check Lint (black, flake8, isort)
run: |
make quality
run-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Cache pip
uses: actions/cache@v3
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install cython==3.0.8 kss==1.3.1
pip3 install -r requirements.txt -r requirements-dev.txt
pip3 install .
- name: Run Test Code
run: |
make test-cov