From 6e6e567cbe0944fdb6497e9771a58fe884740b9b Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Wed, 18 Aug 2021 22:52:02 +0200 Subject: ci: stop testing both memory and filesystem We don't do much when choosing in memory or not, sqlite does all the work of managing the data, so there's not much point for us testing both modes. This will also have the benefit of reducing the time needed to run the CI, especially for aarch64 which is super slow. --- .builds/alpine-edge-amd64.yml | 8 -------- .builds/debian-stable-aarch64.yml | 5 +++-- .builds/debian-stable-amd64.yml | 8 -------- .builds/freebsd-latest-amd64.yml | 4 ---- .github/workflows/main.yml | 17 ----------------- 5 files changed, 3 insertions(+), 39 deletions(-) diff --git a/.builds/alpine-edge-amd64.yml b/.builds/alpine-edge-amd64.yml index 5197bfa..4083853 100644 --- a/.builds/alpine-edge-amd64.yml +++ b/.builds/alpine-edge-amd64.yml @@ -25,14 +25,6 @@ tasks: cd zig-sqlite TERM=dumb zig build test -Din_memory=true - - test_filesystem: | - cd zig-sqlite - TERM=dumb zig build test -Din_memory=false - - test_in_memory_with_qemu: | cd zig-sqlite TERM=dumb zig build test -Din_memory=true -Denable_qemu=true - - - test_filesystem_with_qemu: | - cd zig-sqlite - TERM=dumb zig build test -Din_memory=false -Denable_qemu=true diff --git a/.builds/debian-stable-aarch64.yml b/.builds/debian-stable-aarch64.yml index bcca906..2c2556d 100644 --- a/.builds/debian-stable-aarch64.yml +++ b/.builds/debian-stable-aarch64.yml @@ -15,6 +15,7 @@ tasks: mv ~/zig-linux-* ~/zig-master echo "export PATH=$PATH:~/zig-master" >> ~/.buildenv - - test_filesystem: | + - test_in_memory: | cd zig-sqlite - TERM=dumb zig build test -Din_memory=false + TERM=dumb zig build test -Din_memory=true + diff --git a/.builds/debian-stable-amd64.yml b/.builds/debian-stable-amd64.yml index 00a2bd2..d8b2337 100644 --- a/.builds/debian-stable-amd64.yml +++ b/.builds/debian-stable-amd64.yml @@ -20,14 +20,6 @@ tasks: cd zig-sqlite TERM=dumb zig build test -Din_memory=true - - test_filesystem: | - cd zig-sqlite - TERM=dumb zig build test -Din_memory=false - - test_in_memory_with_qemu: | cd zig-sqlite TERM=dumb zig build test -Din_memory=true -Denable_qemu=true - - - test_filesystem_with_qemu: | - cd zig-sqlite - TERM=dumb zig build test -Din_memory=false -Denable_qemu=true diff --git a/.builds/freebsd-latest-amd64.yml b/.builds/freebsd-latest-amd64.yml index e4e344a..0f1c98a 100644 --- a/.builds/freebsd-latest-amd64.yml +++ b/.builds/freebsd-latest-amd64.yml @@ -18,7 +18,3 @@ tasks: - test_in_memory: | cd zig-sqlite TERM=dumb zig build test -Din_memory=true - - - test_filesystem: | - cd zig-sqlite - TERM=dumb zig build test -Din_memory=false diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ce03bf2..e1593b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,20 +41,3 @@ jobs: - name: Run Tests in memory run: zig build test -Din_memory=true - - test-with-filesystem: - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ${{ matrix.os }} - steps: - - uses: actions/checkout@v2 - with: - submodules: true - - uses: goto-bus-stop/setup-zig@v1 - with: - version: master - - - name: Run Tests with filesystem - run: zig build test -Din_memory=false -- cgit v1.2.3