From ee38c049be1a1ae18a9e8ee9818ef1cb2c091e20 Mon Sep 17 00:00:00 2001 From: Thomas Nipen Date: Mon, 11 Mar 2024 14:29:10 +0100 Subject: [PATCH] Use newer node action for github --- .github/workflows/python-package.yml | 4 ++-- tox.ini | 11 ++++------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3d05766..509231e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -18,9 +18,9 @@ jobs: python-version: [3.7] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/tox.ini b/tox.ini index d055b9f..31ccc01 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py35, py36, py37 +envlist = py37, py310 [testenv] # set the matplitlib backend to one that does not require the xserver @@ -8,11 +8,8 @@ passenv = TRAVIS TRAVIS_* -deps = - nose - pep8 - coveralls +deps =.[test] + commands = - nosetests -v --with-coverage --cover-erase --cover-package=verif + coverage run --source verif -m unittest discover verif examples/raw.txt examples/kf.txt -m mae -f test.png - python {toxinidir}/run_coveralls.py