Files
laps/.gitea/workflows/tests.yaml
T
sandros 2bdb8c67da
Tests / tests (push) Failing after 13s
Release / upload-asset (push) Failing after 1s
Use composer:2 container in Gitea workflows
2026-09-26 23:10:38 +02:00

31 lines
644 B
YAML

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ubuntu-latest
container:
image: composer:2
steps:
- uses: actions/checkout@v3
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist
- name: Run PHPUnit
run: vendor/bin/phpunit
if: always()
- name: Run Psalm
run: |
curl -sSL https://github.com/vimeo/psalm/releases/download/4.30.0/psalm.phar -o /usr/local/bin/psalm
chmod +x /usr/local/bin/psalm
psalm --no-cache
if: always()