(tests) Update software used when testing #32
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test action | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
test-action: | |
runs-on: ubuntu-24.04 | |
services: | |
mariadb: | |
image: mariadb | |
env: | |
MYSQL_ALLOW_EMPTY_PASSWORD: 1 | |
ports: | |
- 3306:3306 | |
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3 | |
env: | |
branch: REL1_39 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
tools: composer | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.composer/cache | |
buildcache | |
key: buildcache-${{ env.branch }}-${{ hashFiles('**/scripts', '**/action.yml') }} | |
- name: Call the "install MediaWiki" action | |
uses: ./ | |
with: | |
branch: ${{ env.branch }} | |
- name: Try running some maintenance script on the newly installed MediaWiki instance | |
run: cd mediawiki && echo '{{CURRENTVERSION}}' | php maintenance/parse.php |