summaryrefslogtreecommitdiff
path: root/.github/workflows/run-unit-tests.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/run-unit-tests.yml')
-rw-r--r--.github/workflows/run-unit-tests.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml
deleted file mode 100644
index 9ea14ed..0000000
--- a/.github/workflows/run-unit-tests.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Run unit tests
-on: [push, pull_request]
-jobs:
- test-server:
- name: Run pytest for server/
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up Docker Buildx
- id: buildx
- uses: docker/setup-buildx-action@v1
-
- - name: Build test container
- run: >
- docker buildx build --load
- --platform linux/amd64 --target testing
- -t test_container
- ./server
-
- - name: Run unit tests
- run: >
- docker run --rm -t test_container
- --color=no
- --cov-report=term-missing:skip-covered
- --cov=szurubooru
- szurubooru/