Skip to content

Commit

Permalink
No sudo in the ckan dev images
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 20, 2024
1 parent 9def440 commit 96c63c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ matrix.ckan-image }}
options: --user root
options: --user root
services:
solr:
image: ckan/ckan-solr:${{ matrix.ckan-version }}-solr9
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
pip install -e ckanext-fluent
- name: Setup extension
run: |
sudo -u ckan ckan -c test.ini db init
sudo -u ckan ckan -c test.ini db pending-migrations --apply
ckan -c test.ini db init
ckan -c test.ini db pending-migrations --apply
- name: Run tests
run: sudo -u ckan pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests
run: pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests

0 comments on commit 96c63c6

Please sign in to comment.