Skip to content

Commit

Permalink
tests: Don't specify location of docker executable
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Sep 22, 2023
1 parent 7ef7eb3 commit 4829c10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Create solr container
run: |
git clone https://github.com/opendata-swiss/ckanext-switzerland-ng.git
/usr/bin/docker create --name test_solr --network ${{ job.container.network }} --network-alias solr \
docker create --name test_solr --network ${{ job.container.network }} --network-alias solr \
--workdir $WORKDIR --publish 8983:8983 \
-e "SOLR_HEAP=1024m" -e "SOLR_SCHEMA_FILE=$SOLR_CONFIG_CKAN_DIR/managed-schema" \
-e GITHUB_ACTIONS=true -e CI=true \
Expand All @@ -64,7 +64,7 @@ jobs:
docker start test_solr
- name: Create ckan container
run: |
/usr/bin/docker create --name test_ckan --network ${{ job.container.network }} --network-alias ckan \
docker create --name test_ckan --network ${{ job.container.network }} --network-alias ckan \
-e "HOME=/github/home" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" \
-v "/home/runner/work":"/__w" -v "/home/runner/work/_temp":"/__w/_temp" \
-v "/home/runner/work/_actions":"/__w/_actions" -v "/opt/hostedtoolcache":"/__t" \
Expand Down

0 comments on commit 4829c10

Please sign in to comment.