Skip to content

Commit

Permalink
Merge pull request #4 from cospectrum/dev
Browse files Browse the repository at this point in the history
improve ci
  • Loading branch information
cospectrum authored Dec 16, 2024
2 parents d86e78f + 93d94cd commit eb345c8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 21 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/actionlint.yml

This file was deleted.

13 changes: 12 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ concurrency:
cancel-in-progress: true

jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download actionlint
id: get_actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
shell: bash
- name: Check workflow files
run: ${{ steps.get_actionlint.outputs.executable }} -color
shell: bash
python:
runs-on: ubuntu-latest
name: python
Expand All @@ -26,7 +37,7 @@ jobs:
with:
python-version-file: ".python-version"
- name: Install the project
run: uv sync --all-extras --dev
run: uv sync --all-extras --locked
- name: pytest
run: uv run pytest
- name: mypy
Expand Down
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ readme = "README.md"
license = { text = "Apache-2.0" }
authors = [{ name = "cospectrum", email = "severinalexeyv@gmail.com" }]
requires-python = ">=3.10"
dependencies = [
"numpy>=2.2.0",
"onnxruntime>=1.20.1",
"pillow>=11.0.0",
]
dependencies = ["numpy>=2.2.0", "onnxruntime>=1.20.1", "pillow>=11.0.0"]

[project.urls]
Repository = "https://github.com/cospectrum/microwink"
Expand Down

0 comments on commit eb345c8

Please sign in to comment.