Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,23 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
- name: Install uv
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install
pipenv install -d
pipenv run pip install -e .
pip install uv

- name: Install dependencies
run: |
uv venv
uv sync

- name: Test with pytest
run: |
pipenv run pytest tests/ --cov=slackify_markdown --cov-report=xml
uv run pytest tests/ --cov=slackify_markdown --cov-report=xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false

16 changes: 0 additions & 16 deletions Pipfile

This file was deleted.

416 changes: 0 additions & 416 deletions Pipfile.lock

This file was deleted.

15 changes: 9 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ dependencies = [
"markdown-it-py",
]

[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
]

[project.urls]
"Homepage" = "https://github.com/thesmallstar/slackify-markdown-python"
"Bug Tracker" = "https://github.com/thesmallstar/slackify-markdown-python/issues"
Expand All @@ -45,4 +40,12 @@ dev = [

[tool.pytest]
pythonpath = ["."]
testpaths = ["tests"]
testpaths = ["tests"]

[dependency-groups]
dev = [
"codecov>=2.1.13",
"pre-commit>=3.5.0",
"pytest>=8.3.5",
"pytest-cov>=5.0.0",
]
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pytest==8.3.5
pre-commit==4.1.0
pytest-cov==6.0.0
codecov==2.1.13
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
markdown-it-py
727 changes: 727 additions & 0 deletions uv.lock

Large diffs are not rendered by default.