Skip to content

Commit

Permalink
run ci in USER instead of %SYS
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-shuliu committed Feb 1, 2024
1 parent 926cd19 commit 34d6ce4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
docker image ls
CONTAINER=$(docker run -d --rm -v `pwd`:/home/irisowner/zpm/ zpm)
docker exec $CONTAINER /usr/irissys/dev/Cloud/ICM/waitISC.sh
docker exec -i $CONTAINER iris session IRIS -U%SYS << EOF
docker exec -i $CONTAINER iris session IRIS << EOF
zpm "list":1
zpm "test zpm -v -only":1:1
EOF
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
CONTAINER=$(docker run -d --rm -v `pwd`:/home/irisowner/zpm/ zpm)
echo "CONTAINER=$CONTAINER" >> $GITHUB_OUTPUT
docker exec $CONTAINER /usr/irissys/dev/Cloud/ICM/waitISC.sh
docker exec -i $CONTAINER iris session IRIS -U%SYS << EOF
docker exec -i $CONTAINER iris session IRIS << EOF
zpm "repo -r -name registry -url https://pm.community.intersystems.com/":1
halt
EOF
Expand All @@ -98,7 +98,7 @@ jobs:
-verbose -DUnitTest.ManagerClass=UnitTest.Manager -DUnitTest.JUnitOutput=/test-reports/junit.xml
-DUnitTest.FailuresAreFatal=1 -DUnitTest.Manager=UnitTest.Manager
run: |
docker exec -i ${{ env.CONTAINER }} iris session IRIS -U%SYS << EOF
docker exec -i ${{ env.CONTAINER }} iris session IRIS << EOF
zpm "install ${{ matrix.package }}":1
zpm "${{ matrix.package }} test -only ${{ env.test-flags }}":1:1
EOF
Expand Down

0 comments on commit 34d6ce4

Please sign in to comment.