diff --git a/.github/workflows/test_datasets_single.yaml b/.github/workflows/test_datasets_single.yaml index 0e162f57..b042da03 100644 --- a/.github/workflows/test_datasets_single.yaml +++ b/.github/workflows/test_datasets_single.yaml @@ -1,5 +1,5 @@ -name: Test Datasets +name: Test Dataset on: push: @@ -20,21 +20,21 @@ on: - ".github/workflows/test_datasets_single.yaml" jobs: - directories: # Job that list subdirectories + directories_pie: # Job that list subdirectories runs-on: ubuntu-latest outputs: dir: ${{ steps.set-dirs.outputs.dir }} # generate output name dir by using inner step output steps: - uses: actions/checkout@v2 - id: set-dirs # Give it an id to handle to get step outputs in the outputs key above - run: echo "::set-output name=dir::$(ls -d */ | jq -R -s -c 'split("\n")[:-1]')" + run: echo "::set-output name=dir::$(ls -d dataset_builders/pie | jq -R -s -c 'split("\n")[:-1]')" # Define step output named dir base on ls command transformed to JSON thanks to jq - loop: + test_pie: runs-on: ubuntu-latest - needs: [ directories ] # Depends on previous job + needs: [ directories_pie ] # Depends on previous job strategy: matrix: - dir: ${{fromJson(needs.directories.outputs.dir)}} # List matrix strategy from directories dynamically + dir: ${{fromJson(needs.directories_pie.outputs.dir)}} # List matrix strategy from directories dynamically steps: - - run: echo ${{matrix.dir}} \ No newline at end of file + - run: echo ${{matrix.dir}}