Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup Actions to build on Windows #649

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/docs.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/spelling.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/static-analysis.yml

This file was deleted.

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 (Windows)

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 }} (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
93 changes: 0 additions & 93 deletions .github/workflows/test.yaml

This file was deleted.