Skip to content

Commit cb49cb1

Browse files
committed
fix workflow
Signed-off-by: Inada Naoki <songofacandy@gmail.com>
1 parent 9e2b1eb commit cb49cb1

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717
- name: Set up Python
18-
uses: actions/setup-python@v4
18+
uses: actions/setup-python@v5
1919
with:
20-
python-version: ${{ matrix.python }}
20+
python-version: ${{ matrix.python-version }}
21+
cache: "pip"
22+
cache-dependency-path: requirements-dev.txt
2123
- name: Install dependencies
22-
run: python -m pip install --upgrade tox
24+
run: python -m pip install -r requirements-dev.txt
2325
- name: Run tests
24-
run: tox -e py
26+
run: pytest --cov=fluent

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ skip_missing_interpreters = True
66
[testenv]
77
deps =
88
pytest
9+
pytest-cov
910
msgpack
10-
commands = pytest -v
11+
commands = pytest --cov=fluent

0 commit comments

Comments
 (0)