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:
parent
130fe33053
commit
3cb196acd6
29
.github/workflows/notification-service.yml
vendored
Normal file
29
.github/workflows/notification-service.yml
vendored
Normal 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
|
Loading…
x
Reference in New Issue
Block a user