Skip to content

Commit

Permalink
improve workflow naming
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Apr 13, 2024
1 parent ac2f7a0 commit acdb076
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 44 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "Integrate"

on:
push:
branches:
- "master"
pull_request:
branches:
- "master"

permissions:
contents: "read"

jobs:
test:
runs-on: "ubuntu-latest"

strategy:
matrix:
php-version:
- "7.4"
- "8.0"

steps:
- name: "Checkout repository"
uses: "actions/checkout@v4"

- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"

- name: "Install dependencies"
run: "composer install --no-interaction --no-progress --prefer-dist"

- run: "./generate.sh"
- run: "php -l wordpress-stubs.php"
- run: "git diff --exit-code"
- run: "php -f wordpress-stubs.php"
- run: "composer run test"
44 changes: 0 additions & 44 deletions .github/workflows/tests.yml

This file was deleted.

0 comments on commit acdb076

Please sign in to comment.