Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Inada Naoki <[email protected]>
  • Loading branch information
methane committed Feb 28, 2024
1 parent 9e2b1eb commit fc1685a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: python -m pip install --upgrade tox
run: python -m pip install -r requirements-dev.txt
- name: Run tests
run: tox -e py
run: pytest --cov=fluent
3 changes: 3 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pytest
pytest-cov
msgpack
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ skip_missing_interpreters = True
[testenv]
deps =
pytest
pytest-cov
msgpack
commands = pytest -v
commands = pytest --cov=fluent

0 comments on commit fc1685a

Please sign in to comment.