From 0e1b647e7bb627a6cdaa5dccad26c4d1b6a01d69 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sat, 10 Apr 2021 22:47:30 +1000 Subject: [PATCH] Remove mariadb test (uses the same backend as mysql!) --- .github/workflows/mariadb.yaml | 48 ---------------------------------- README.md | 1 - 2 files changed, 49 deletions(-) delete mode 100644 .github/workflows/mariadb.yaml diff --git a/.github/workflows/mariadb.yaml b/.github/workflows/mariadb.yaml deleted file mode 100644 index f976cfa088..0000000000 --- a/.github/workflows/mariadb.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: MariaDB - -on: ["push", "pull_request"] - -jobs: - - test: - runs-on: ubuntu-latest - - env: - # Database backend configuration - INVENTREE_DB_ENGINE: django.db.backends.mysql - INVENTREE_DB_NAME: inventree - INVENTREE_DB_USER: root - INVENTREE_DB_PASSWORD: password - INVENTREE_DB_HOST: '127.0.0.1' - INVENTREE_DB_PORT: 3306 - INVENTREE_DEBUG: info - INVENTREE_MEDIA_ROOT: ./media - INVENTREE_STATIC_ROOT: ./static - - services: - mariadb: - image: mariadb:latest - env: - MYSQL_ALLOW_EMPTY_PASSWORD: yes - MYSQL_DATABASE: inventree - MYSQL_USER: inventree - MYSQL_PASSWORD: password - MYSQL_ROOT_PASSWORD: password - ports: - - 3306:3306 - - steps: - - name: Checkout Code - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: 3.7 - - name: Install Dependencies - run: | - sudo apt-get install mysql-server libmysqlclient-dev - pip3 install invoke - pip3 install mysqlclient - invoke install - - name: Run Tests - run: invoke test diff --git a/README.md b/README.md index ef0556cceb..2a622266d7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ ![Docker Build](https://github.com/inventree/inventree/actions/workflows/docker.yaml/badge.svg) ![SQLite](https://github.com/inventree/inventree/actions/workflows/coverage.yaml/badge.svg) ![MySQL](https://github.com/inventree/inventree/actions/workflows/mysql.yaml/badge.svg) -![MariaDB](https://github.com/inventree/inventree/actions/workflows/mariadb.yaml/badge.svg) ![PostgreSQL](https://github.com/inventree/inventree/actions/workflows/postgresql.yaml/badge.svg) InvenTree