Skip to content

Commit

Permalink
build(.github) add windows build action
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Oct 2, 2023
1 parent 7adff1c commit 8aa4449
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/test-on-windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow

name: Test

on: # yamllint disable-line rule:truthy
pull_request: null
push:
paths:
- "src/**"
- "includes/**"
- "tests/**"
- "composer.json"
branches:
- "master"

permissions:
contents: "read"

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
test-windows:
strategy:
matrix:
suite:
- acceptance
- climodule
- functional
- muloader
- unit
- webdriver
- wpcli_module
- wploader_multisite
- wploader_wpdb_interaction
- wploadersuite
name: ${{ matrix.suite }} on Windows
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
extensions: uopz, sqlite3, gd
ini-values: post_max_size=256M, max_execution_time=180, uopz.exit=1
tools: composer

0 comments on commit 8aa4449

Please sign in to comment.