aboutsummaryrefslogtreecommitdiff
path: root/.forgejo/workflows/test.yml
blob: bbc36478b9c96686f694a1efeffd5d9de907b6c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Run Tests

on:
  push:
    branches: [ main, master ]
  pull_request:

jobs:
  test:
    runs-on: docker
    container:
      image: thevlang/vlang:alpine

    steps:
      - name: Code auschecken
        run: |
          apk add --no-cache git
          git clone https://git.cloud2.ltutte.de/${{ github.repository }}.git .
          git checkout ${{ github.sha }}

      - name: V Tests ausführen
        run: |
          v test .