Skip to content

Commit

Permalink
Use su -c ...
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 20, 2024
1 parent 96c63c6 commit 132e974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
pip install -e ckanext-fluent
- name: Setup extension
run: |
ckan -c test.ini db init
ckan -c test.ini db pending-migrations --apply
su ckan -c ckan -c test.ini db init
su ckan -c ckan -c test.ini db pending-migrations --apply
- name: Run tests
run: pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests
run: su ckan -c pytest --ckan-ini=test.ini --cov=ckanext.dcat --cov-report=term-missing --cov-append --disable-warnings ckanext/dcat/tests

0 comments on commit 132e974

Please sign in to comment.