From 61ff57b6508cb631cf2f2a6dcc71c38d1f73dd2d Mon Sep 17 00:00:00 2001 From: Stephen Cox Date: Wed, 10 Jan 2024 18:03:36 +0000 Subject: [PATCH 1/2] Fix running tests with Paratest in Github Actions --- .github/workflows/test.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d608d7..3b18e62 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,3 @@ -## -# Managed by https://github.com/localgovdrupal/github_workflow_manager ---- name: Test localgovdrupal/localgov drupal-profile on: @@ -214,4 +211,4 @@ jobs: mkdir -p ./html/web/sites/simpletest && chmod 777 ./html/web/sites/simpletest sed -i "s#http://localgov.lndo.site#http://drupal#" ./html/phpunit.xml.dist docker exec -t drupal bash -c 'chown docker:docker -R /var/www/html' - docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 ${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}" + docker exec -u docker -t drupal bash -c "cd /var/www/html && ./bin/paratest --processes=4 /var/www/html/${{ env.LOCALGOV_DRUPAL_PROJECT_PATH }}" From 117306a8f526319bf4e2519c58fb08fec9c21140 Mon Sep 17 00:00:00 2001 From: Stephen Cox Date: Thu, 11 Jan 2024 14:13:22 +0000 Subject: [PATCH 2/2] Updated core patch for 'User can't reference unpublished content' #661 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1f6aed8..ab971df 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ "Fix PHP 8.2 deprecation notices": "https://www.drupal.org/files/issues/2023-05-22/3343964-5.patch" }, "drupal/core": { - "Users can't reference unpublished content even when they have access to it. See https://www.drupal.org/project/drupal/issues/2845144": "https://www.drupal.org/files/issues/2022-06-17/2845144-67.patch" + "Users can't reference unpublished content even when they have access to it. See https://www.drupal.org/project/drupal/issues/2845144": "https://www.drupal.org/files/issues/2024-01-07/2845144-78.patch" } } }