diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57b4122..ba4c1e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/tox.ini b/tox.ini index a0e2c95..14634e9 100644 --- a/tox.ini +++ b/tox.ini @@ -6,5 +6,6 @@ skip_missing_interpreters = True [testenv] deps = pytest + pytest-cov msgpack -commands = pytest -v +commands = pytest --cov=fluent