Private
Public Access
añadidos tests y hecho workflow de testing
Signed-off-by: fede <federico.nicolas.polidoro@gmail.com>
This commit is contained in:
1 parent
1e74e4363e
commit
37f1741a77
12 files changed
+391
No files matched your search
@@ -0,0 +1,24 @@
|
||||
name: Tests post-merge
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout código
|
||||
run: |
|
||||
git clone https://${{ secrets.GIT_USER }}:${{ secrets.REGISTRY_PASS }}@fedesrv.ddns.net/git/${{ github.repository }}.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.27'
|
||||
|
||||
- name: Tests backend
|
||||
working-directory: ./back
|
||||
run: go test ./...
|
||||
Reference in new issue
Block a user