2023-06-24 20:17:04 +02:00
|
|
|
name: Run unit tests
|
2023-06-24 20:09:00 +02:00
|
|
|
on: [pull_request]
|
|
|
|
env:
|
|
|
|
REGISTRY: gitea.brudi.xyz
|
|
|
|
IMAGE_NAME: ${{ gitea.repository }}
|
|
|
|
USER: ${{ gitea.actor }}
|
|
|
|
jobs:
|
2023-06-24 20:16:03 +02:00
|
|
|
test:
|
2023-06-24 20:09:00 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container: catthehacker/ubuntu:act-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run Tests
|
|
|
|
run: docker build --target test .
|
|
|
|
|