Skip to content

fix: adjust expiration time for token generation #30

fix: adjust expiration time for token generation

fix: adjust expiration time for token generation #30

name: "Tests (External)"
on:
pull_request_target:
types: [labeled]
permissions:
contents: read
jobs:
tests:
name: Tests (External)
runs-on: ubuntu-latest
if: github.event.label.name == 'test'
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Start Test Stack
env:
TESTS_GITHUB_PRIVATE_KEY: ${{ secrets.TESTS_GITHUB_PRIVATE_KEY }}
TESTS_GITHUB_APP_IDENTIFIER: ${{ secrets.TESTS_GITHUB_APP_IDENTIFIER }}
TESTS_GITHUB_INSTALLATION_ID: ${{ secrets.TESTS_GITHUB_INSTALLATION_ID }}
run: |
docker compose up -d
sleep 15
- name: Doctor
run: |
docker compose logs
docker ps
docker network ls
- name: Run Tests
run: |
docker compose exec -T tests vendor/bin/phpunit --configuration phpunit.xml tests