From 742b55d47454d1aef6041f1729d15d0f99d4dfef Mon Sep 17 00:00:00 2001 From: Cryp Toon Date: Tue, 6 Feb 2024 11:53:54 +0100 Subject: [PATCH] Remove mysql unittests --- .github/workflows/unittests-mysql.yaml | 53 -------------------------- .github/workflows/unittests.yaml | 2 +- 2 files changed, 1 insertion(+), 54 deletions(-) delete mode 100644 .github/workflows/unittests-mysql.yaml diff --git a/.github/workflows/unittests-mysql.yaml b/.github/workflows/unittests-mysql.yaml deleted file mode 100644 index 0148f79c..00000000 --- a/.github/workflows/unittests-mysql.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: Bitcoinlib Tests Ubuntu - MySQL -on: [push] - -jobs: - test: - runs-on: ubuntu-latest - services: - mariadb: - image: mariadb:latest - ports: - - 3306 - env: - MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: true - MARIADB_MYSQL_LOCALHOST_USER: 1 - options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 - - strategy: - matrix: - python: ["3.10"] - - steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python }} - architecture: 'x64' - - name: Install dependencies - run: | - python -m pip install .[dev] - - name: Test with coverage - env: - BCL_CONFIG_FILE: config.ini.unittest - UNITTESTS_FULL_DATABASE_TEST: False - UNITTEST_DATABASE: mysql - run: coverage run --source=bitcoinlib -m unittest -v - - - name: Coveralls - uses: AndreMiras/coveralls-python-action@develop - with: - parallel: true - flag-name: Unit Test - debug: true - - coveralls_finish: - needs: test - runs-on: ubuntu-latest - steps: - - name: Coveralls Finished - uses: AndreMiras/coveralls-python-action@develop - with: - parallel-finished: true - debug: true diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index 8b5c1293..44b24ae2 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -7,7 +7,7 @@ jobs: strategy: matrix: - python: ["3.8", "3.11"] + python: ["3.8", "3.10", "3.11"] steps: - uses: actions/checkout@v3