Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeLionX committed Nov 15, 2023
1 parent 74b50e4 commit cdd0660
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ jobs:
echo "${{ matrix.algorithm_name }}_dataset_name=$dataset_name" >> "$GITHUB_OUTPUT"
- name: Prepare build
run: |
echo "${DATASET_NAME}"
mkdir results && chmod -R 777 results
run: mkdir results && chmod -R 777 results
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build algorithm image
Expand All @@ -76,7 +74,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: "${{ matrix.algorithm_name }}:${{ github.sha }}"
options: -e LOCAL_UID=1000 -e LOCAL_GID=1000 -v "${DATASET_NAME}:/data/dataset.csv:ro" -v "$(pwd)/results:/results:rw"
options: -e LOCAL_UID=1000 -e LOCAL_GID=1000 -v "${${{ matrix.algorithm_name }}_dataset_name}:/data/dataset.csv:ro" -v "$(pwd)/results:/results:rw"
run: |
execute-algorithm '{
"dataInput": "/data/dataset.csv", "dataOutput": "/results/scores.csv",
Expand All @@ -89,7 +87,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: "${{ matrix.algorithm_name }}:${{ github.sha }}"
options: -e LOCAL_UID=1000 -e LOCAL_GID=1000 -v "${DATASET_NAME}:/data/dataset.csv:ro" -v "$(pwd)/results:/results:rw"
options: -e LOCAL_UID=1000 -e LOCAL_GID=1000 -v "${${{ matrix.algorithm_name }}_dataset_name}:/data/dataset.csv:ro" -v "$(pwd)/results:/results:rw"
run: |
execute-algorithm '{
"dataInput": "/data/dataset.csv", "dataOutput": "/results/scores.csv",
Expand Down

0 comments on commit cdd0660

Please sign in to comment.