From beb5b8726bf3922c0f6fce42897385277d2fb2a3 Mon Sep 17 00:00:00 2001 From: Martin Majlis Date: Fri, 23 Feb 2024 09:16:38 +0100 Subject: [PATCH] Update travis covig file --- .github/workflows/code-quality.yml | 2 +- .travis.yml | 6 +----- Makefile | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index d1fb1dd..e567190 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -9,7 +9,7 @@ on: - main jobs: - build: + code-quality-check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.travis.yml b/.travis.yml index 506a0e3..09719e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,11 @@ env: language: python python: - - "3.4" - - "3.5" - - "3.6" - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" install: - pip install -r requirements.txt - pip install coverage @@ -23,7 +20,6 @@ before_script: - ./cc-test-reporter before-build script: - make run-coverage - - coverage xml after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT - coveralls diff --git a/Makefile b/Makefile index 57671a0..c74b80b 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ run-tox: run-coverage: coverage run --source=wikipediaapi -m unittest discover tests/ '*test.py' coverage report -m - coverage json + coverage xml requirements: pip3 install -r requirements.txt