0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-08-02 08:15:43 +02:00

adding workflow to run the service tests

This commit is contained in:
moslem-asaad 2025-03-01 22:05:42 +02:00
parent 130fe33053
commit 3cb196acd6

View File

@ -0,0 +1,29 @@
name: Run Notification Service Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
api-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Pull Latest notification service Image
run: docker pull moslemasaad/gitea-notificator
- name: Run Tests
run: docker run --rm moslemasaad/gitea-notificator test