Add .gitea/workflows/pest.yml
This commit is contained in:
commit
f923c7d1da
36
.gitea/workflows/pest.yml
Normal file
36
.gitea/workflows/pest.yml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: build
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: latest
|
||||||
|
image:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: git.qlic.nl/qlic/quality:latest
|
||||||
|
username:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ${{ vars.REGISTRY_USERNAME }}
|
||||||
|
password:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ${{ vars.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
container:
|
||||||
|
image: ${{ inputs.image }}
|
||||||
|
credentials:
|
||||||
|
username: ${{ inputs.username }}
|
||||||
|
password: ${{ inputs.password }}
|
||||||
|
steps:
|
||||||
|
- name: Setup composer
|
||||||
|
uses: https://git.qlic.nl/actions/setup-composer@main
|
||||||
|
|
||||||
|
- name: Run Pest
|
||||||
|
run: ./vendor/bin/pest
|
Loading…
x
Reference in New Issue
Block a user