Skip to content

Commit

Permalink
Merge pull request #18 from rejasupotaro/github-actions
Browse files Browse the repository at this point in the history
Reorganize GitHub Actions
  • Loading branch information
rejasupotaro authored Jan 2, 2025
2 parents d7b2fed + 0015144 commit 590aea7
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install ruff mypy
- run: pip install ruff mypy poetry
- run: make lint
29 changes: 29 additions & 0 deletions .github/workflows/test-indexing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test-indexing

on: push

defaults:
run:
working-directory: src/indexing

jobs:
test:
strategy:
matrix:
python-version: ["3.11.8"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
env:
SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL: True
run: |
pip install poetry
poetry install
poetry run python -m unidic download
- run: poetry run pytest tests/unit -vv --cov
# - run: poetry run pytest tests/integration -vv

0 comments on commit 590aea7

Please sign in to comment.