aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/run-unit-tests.yml
blob: 87ab4e851bbd8797a0aa3518d7dbce6fee710701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: run-unit-tests
on: [pull_request]
jobs:
  test-server:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Build test container
        run: |
          TAG=$(docker build --target testing -q ./server)
          echo "image_tag=${TAG}" >> $GITHUB_ENV

      - name: Run unit tests
        run: docker run --rm -t ${{ env.image_tag }} --color=no szurubooru/

© 2015 - 2026 Jakob L. Kreuze