2424
2525 strategy :
2626 matrix :
27- php : ["8.4","8.3","8.2", "8.1", "8.0", "7.4"]
28- wordpress : ["6.8","6.7", "6.6", "6.5", "6.4", "6.3", "6.2"]
27+ # TODO: Add back in once working
28+ # php: ["8.4","8.3","8.2", "8.1", "8.0", "7.4"]
29+ # wordpress: ["6.8","6.7", "6.6", "6.5", "6.4", "6.3", "6.2"]
30+ php : [ "8.2"]
31+ wordpress : [ "6.8" ]
2932 include :
3033 - php : " 8.2"
3134 wordpress : " 6.8"
6467 - name : Install Composer dependencies
6568 uses : ramsey/composer-install@v3
6669 with :
70+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
6771 composer-options : " --no-progress"
6872
6973 - name : Copy .env file
74+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
7075 run : |
7176 cp .docker/.env.ci .env
7277 echo "INCLUDE_EXTENSIONS=${{ matrix.extensions }}" >> .env
@@ -78,13 +83,15 @@ jobs:
7883 INCLUDE_EXTENSIONS : ${{ matrix.extensions }}
7984
8085 - name : Build test environment
86+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
8187 run : |
8288 composer run docker:build
8389 env :
8490 WP_VERSION : ${{ matrix.wordpress }}
8591 PHP_VERSION : ${{ matrix.php }}
8692
8793 - name : Start test environment
94+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
8895 run : |
8996 docker compose --env-file .env up --detach
9097
@@ -100,6 +107,7 @@ jobs:
100107 PHP_VERSION : ${{ matrix.php }}
101108
102109 - name : Run Acceptance Tests w/ Docker
110+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
103111 run : |
104112 if [ "${{ matrix.extensions }}" = "true" ]; then
105113 docker exec \
@@ -116,6 +124,7 @@ jobs:
116124 continue-on-error : true
117125
118126 - name : Run Functional Tests w/ Docker
127+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
119128 run : |
120129 docker exec \
121130 --env DEBUG=${{ env.DEBUG }} \
@@ -130,6 +139,7 @@ jobs:
130139 continue-on-error : true
131140
132141 - name : Run WPUnit Tests w/ Docker
142+ working-directory : plugins/${{ steps.plugin.outputs.slug }}
133143 run : |
134144 docker exec \
135145 --env COVERAGE=${{ env.COVERAGE }} \
0 commit comments