diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69d4fa8..4d0f8ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,8 +32,6 @@ jobs: case: # Use PHP v7 to ensure deterministic outcomes. - caret-7-3 - - tilde-7-3 - - tilde-7-3-5 - exactly-7-3-5 - complex @@ -123,3 +121,12 @@ jobs: - name: Assert action failed if: steps.subject.outcome != 'failure' run: exit 1 + + wait-for-all-tests: + needs: + - positive + - negative + - missing + runs-on: ubuntu-latest + steps: + - run: echo "All tests passed!" diff --git a/testdata/complex.composer.json b/testdata/complex.composer.json index eb7fc65..d58fb93 100644 --- a/testdata/complex.composer.json +++ b/testdata/complex.composer.json @@ -1,5 +1,5 @@ { "require": { - "php": "^7.4.28 || ^8.3 <=8.3.14" + "php": "^7.3.32 || ^8.3 <=8.3.14" } } diff --git a/testdata/complex.full.golden.json b/testdata/complex.full.golden.json index 57ef5c3..836f954 100644 --- a/testdata/complex.full.golden.json +++ b/testdata/complex.full.golden.json @@ -1,6 +1,35 @@ { - "constraint": "^7.4.28 || ^8.3 <=8.3.14", + "constraint": "^7.3.32 || ^8.3 <=8.3.14", "versions": [ + "7.3.32", + "7.3.33", + "7.4.0", + "7.4.1", + "7.4.2", + "7.4.3", + "7.4.4", + "7.4.5", + "7.4.6", + "7.4.7", + "7.4.8", + "7.4.9", + "7.4.10", + "7.4.11", + "7.4.12", + "7.4.13", + "7.4.14", + "7.4.15", + "7.4.16", + "7.4.18", + "7.4.19", + "7.4.20", + "7.4.21", + "7.4.22", + "7.4.23", + "7.4.24", + "7.4.25", + "7.4.26", + "7.4.27", "7.4.28", "7.4.29", "7.4.30", @@ -21,6 +50,6 @@ "8.3.13", "8.3.14" ], - "lowest": "7.4.28", + "lowest": "7.3.32", "highest": "8.3.14" } diff --git a/testdata/complex.minor-only.golden.json b/testdata/complex.minor-only.golden.json index c9d5570..04e623d 100644 --- a/testdata/complex.minor-only.golden.json +++ b/testdata/complex.minor-only.golden.json @@ -1,9 +1,10 @@ { - "constraint": "^7.4.28 || ^8.3 <=8.3.14", + "constraint": "^7.3.32 || ^8.3 <=8.3.14", "versions": [ + "7.3", "7.4", "8.3" ], - "lowest": "7.4", + "lowest": "7.3", "highest": "8.3" } diff --git a/testdata/tilde-7-3-5.composer.json b/testdata/tilde-7-3-5.composer.json deleted file mode 100644 index 03086cf..0000000 --- a/testdata/tilde-7-3-5.composer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "require": { - "php": "~7.3.5" - } -} diff --git a/testdata/tilde-7-3-5.full.golden.json b/testdata/tilde-7-3-5.full.golden.json deleted file mode 100644 index f1df6a6..0000000 --- a/testdata/tilde-7-3-5.full.golden.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "constraint": "~7.3.5", - "versions": [ - "7.3.5", - "7.3.6", - "7.3.7", - "7.3.8", - "7.3.9", - "7.3.10", - "7.3.11", - "7.3.12", - "7.3.13", - "7.3.14", - "7.3.15", - "7.3.16", - "7.3.17", - "7.3.18", - "7.3.19", - "7.3.20", - "7.3.21", - "7.3.22", - "7.3.23", - "7.3.24", - "7.3.25", - "7.3.26", - "7.3.27", - "7.3.28", - "7.3.29", - "7.3.30", - "7.3.31", - "7.3.32", - "7.3.33" - ], - "lowest": "7.3.5", - "highest": "7.3.33" -} diff --git a/testdata/tilde-7-3-5.minor-only.golden.json b/testdata/tilde-7-3-5.minor-only.golden.json deleted file mode 100644 index a2f4a3e..0000000 --- a/testdata/tilde-7-3-5.minor-only.golden.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "constraint": "~7.3.5", - "versions": [ - "7.3" - ], - "lowest": "7.3", - "highest": "7.3" -} diff --git a/testdata/tilde-7-3.composer.json b/testdata/tilde-7-3.composer.json deleted file mode 100644 index 31eb6fe..0000000 --- a/testdata/tilde-7-3.composer.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "require": { - "php": "~7.3" - } -} diff --git a/testdata/tilde-7-3.full.golden.json b/testdata/tilde-7-3.full.golden.json deleted file mode 100644 index 2955eaf..0000000 --- a/testdata/tilde-7-3.full.golden.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "constraint": "~7.3", - "versions": [ - "7.3.0", - "7.3.1", - "7.3.2", - "7.3.3", - "7.3.4", - "7.3.5", - "7.3.6", - "7.3.7", - "7.3.8", - "7.3.9", - "7.3.10", - "7.3.11", - "7.3.12", - "7.3.13", - "7.3.14", - "7.3.15", - "7.3.16", - "7.3.17", - "7.3.18", - "7.3.19", - "7.3.20", - "7.3.21", - "7.3.22", - "7.3.23", - "7.3.24", - "7.3.25", - "7.3.26", - "7.3.27", - "7.3.28", - "7.3.29", - "7.3.30", - "7.3.31", - "7.3.32", - "7.3.33", - "7.4.0", - "7.4.1", - "7.4.2", - "7.4.3", - "7.4.4", - "7.4.5", - "7.4.6", - "7.4.7", - "7.4.8", - "7.4.9", - "7.4.10", - "7.4.11", - "7.4.12", - "7.4.13", - "7.4.14", - "7.4.15", - "7.4.16", - "7.4.18", - "7.4.19", - "7.4.20", - "7.4.21", - "7.4.22", - "7.4.23", - "7.4.24", - "7.4.25", - "7.4.26", - "7.4.27", - "7.4.28", - "7.4.29", - "7.4.30", - "7.4.32", - "7.4.33" - ], - "lowest": "7.3.0", - "highest": "7.4.33" -} diff --git a/testdata/tilde-7-3.minor-only.golden.json b/testdata/tilde-7-3.minor-only.golden.json deleted file mode 100644 index d802044..0000000 --- a/testdata/tilde-7-3.minor-only.golden.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "constraint": "~7.3", - "versions": [ - "7.3", - "7.4" - ], - "lowest": "7.3", - "highest": "7.4" -}