aboutsummaryrefslogtreecommitdiff
path: root/.forgejo/workflows/test.yml
blob: fb3184cf8618b52c5366d766eca85ab0510b6b41 (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/$](https://git.cloud2.ltutte.de/$){{ github.repository }}.git .
          git checkout ${{ github.sha }}

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