Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Nov 17, 2024
1 parent fc0bfc3 commit 7adeedd
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 36 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: lint-test

on:
push:
branches:
- '**'

jobs:
lint-test:
name: lint+test
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ["8.1", "8.2", "8.3"]
drupal-version: ["10.2", "10.3", "10.4", "11.0"]
exclude:
- drupal-version: "11.0"
php-version: "8.1"
- drupal-version: "11.0"
php-version: "8.2"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: lint+test
working-directory: ci
run: docker compose up -d --quiet-pull
env:
PHP_VERSION: ${{ matrix.php-version }}
DRUPAL_VERSION: ${{ matrix.drupal-version }}
36 changes: 0 additions & 36 deletions .github/workflows/lint.yml

This file was deleted.

7 changes: 7 additions & 0 deletions ci/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
networks:
default:
services:
drupal:
image: lehighlts/drupal-ci:${DRUPAL_VERSION}-php${PHP_VERSION}
volumes:
- ../:/var/www/drupal/web/modules/contrib/turnstile_protect

0 comments on commit 7adeedd

Please sign in to comment.