From ca8395b04d309afc571d32dec97c872164a125b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Thu, 3 Oct 2024 15:40:25 +0200 Subject: [PATCH] test --- .forgejo/workflows/phpunit.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/phpunit.yml b/.forgejo/workflows/phpunit.yml index 5bdae8d..aa6b08f 100644 --- a/.forgejo/workflows/phpunit.yml +++ b/.forgejo/workflows/phpunit.yml @@ -5,6 +5,7 @@ on: branches: - main - improve_tests + - ci_badge pull_request: env: @@ -92,4 +93,13 @@ jobs: - name: Run Integration tests for Events Manager run: cd /workspace/Event-Federation/wordpress-activitypub-event-bridge/ && ./vendor/bin/phpunit --filter=events_manager env: - PHP_VERSION: ${{ matrix.php-version }} \ No newline at end of file + PHP_VERSION: ${{ matrix.php-version }} + + - name: Save WordPress version and plugin versions to file + run: wp core version > wordpress_versions.txt && wp plugin list --format=json >> wordpress_versions.txt + + - name: Upload WordPress and Plugin Versions + uses: https://code.forgejo.org/actions/upload-artifact@v3 + with: + name: versions + path: wordpress_versions.txt \ No newline at end of file