Skip to content

Commit

Permalink
Remove SQLite unit tests
Browse files Browse the repository at this point in the history
- they haven't worked in a long time and we never cared, so let's
  not waste time and CPU cycles running the test.
  • Loading branch information
gregcorbett committed Oct 11, 2023
1 parent 7bc3b3f commit 1a6cc91
Showing 1 changed file with 0 additions and 51 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,57 +4,6 @@ on: [push, pull_request]

jobs:

phpunit-sqlite:
# The SQLite version depends on the current environment. See documentation:
# https://github.com/actions/virtual-environments/tree/main/images/linux
name: "PHPUnit with SQLite, PHP: ${{ matrix.php-version }}"
runs-on: ubuntu-latest
# If true, allow this job to fail:
continue-on-error: true
strategy:
matrix:
# Define jobs for all combinations of values given to be tested:
php-version: ["5.6"]

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 2

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
coverage: "xdebug"

- name: Validate composer.json and composer.lock
run: composer validate

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --no-progress

- name: Set up unit testing
run: .github/actions/setup.sh
env:
DB: sqlite

- name: Run unit tests
run: .github/actions/run_tests.sh

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v3"


phpunit-mariadb:
name: "PHPUnit with MariaDB: ${{ matrix.mariadb-version }}, PHP: ${{ matrix.php-version }}, extension: ${{ matrix.extension }}"
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1a6cc91

Please sign in to comment.