File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
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+ set-packages : ${{ steps.set-packages .outputs.set-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
You can’t perform that action at this time.
0 commit comments