fix overflow on comments, prevents ugly unnecesary horizontal scroll #110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |