Skip to content

Commit 3f1818c

Browse files
committed
update ci
1 parent 2275c59 commit 3f1818c

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
jobs:
1818
test:
1919
strategy:
20+
fail-fast: false
2021
matrix:
2122
image:
2223
- intersystemsdc/iris-community:latest
@@ -31,7 +32,8 @@ jobs:
3132
env:
3233
FOLDER: /home/irisowner/sqlalchemy-iris
3334
run: |
34-
docker run -i --rm -v `pwd`:$FOLDER -w $FOLDER --entrypoint $FOLDER/test-in-docker.sh $IMAGE
35+
docker build --build-arg BASE=$IMAGE -t sqlalchemy-iris
36+
docker run -i --rm sqlalchemy-iris
3537
3638
deploy:
3739
needs: test

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ARG BASE=intersystemsdc/iris-community
2+
FROM $BASE
3+
4+
COPY --chown=irisowner:irisowner . /home/irisowner/sqlalchemy-iris
5+
6+
WORKDIR /home/irisowner/sqlalchemy-iris
7+
8+
RUN pip install -r requirements-dev.txt -r requirements-iris.txt && \
9+
pip install -e .
10+
11+
ENTRYPOINT /home/irisowner/sqlalchemy-iris/test-in-docker.sh

test-in-docker.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,8 @@ exit_on_error () {
2525
fi
2626
}
2727

28-
mkdir sqlalchemy_iris.egg-info
29-
30-
ls -la
31-
3228
iris_start
3329

34-
pip install -r requirements-dev.txt -r requirements-iris.txt
35-
exit_on_error
36-
37-
pip install -e .
38-
exit_on_error
39-
4030
# Test in Network mode
4131
python3 -m pytest
4232
exit_on_error

0 commit comments

Comments
 (0)