File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,21 @@ jobs:
3232 name : Generate list of packages for integration tests
3333 runs-on : ubuntu-latest
3434 outputs :
35- matrix : ${{ steps.set-matrix .outputs.matrix }}
35+ packages : ${{ steps.set-packages .outputs.packages }}
3636 steps :
3737 - uses : actions/checkout@v5
38+ - uses : julia-actions/setup-julia@v2
3839 - name : Set packages
3940 id : set-packages
41+ shell : julia --color=yes {0}
4042 run : |
41- set -e
42- shopt -s globstar
43- # Find all test files and generate their list in JSON format
44- PACKAGES='packages=['
45- for pkg in test/integration/*; do
46- PACKAGES="${PACKAGES}\"$(basename ${pkg})\","
47- done
48- PACKAGES="${PACKAGES}]"
49- echo "${PACKAGES}" | tee "${GITHUB_OUTPUT}"
43+ all_pkgs = readdir("test/integration")
44+ filtered_pkgs = all_pkgs
45+ pkgs = string("packages=", filtered_pkgs)
46+ open(ENV["GITHUB_OUTPUT"], "w") do io
47+ print(stdout, pkgs)
48+ print(io, pkgs)
49+ end
5050
5151 integration :
5252 needs : generate-packages-list
@@ -60,12 +60,12 @@ jobs:
6060 strategy :
6161 fail-fast : false
6262 matrix :
63- package : ${{ fromJson(needs.generate-packages-list.outputs.set-packages) }}
6463 version :
6564 - ' 1.10'
6665 - ' 1.11'
6766 os :
6867 - linux-x86-n2-32
68+ package : ${{ fromJson(needs.generate-packages-list.outputs.packages) }}
6969 exclude :
7070 - version : ' 1.10'
7171 os : linux-x86-n2-32
You can’t perform that action at this time.
0 commit comments