Skip to content

Commit d94a27d

Browse files
committed
tests test
1 parent b1cd39b commit d94a27d

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/docker.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ jobs:
2323
all:
2424
- .github/workflows/_docker-build-template.yml
2525
- .github/workflows/docker.yml
26+
2627
ros: &all
2728
- docker/base-ros/**
29+
2830
python: &all
2931
- docker/base-python/**
3032
- requirements*.txt
33+
3134
dev: &all
3235
- dimos/**
3336
@@ -61,3 +64,13 @@ jobs:
6164
image-tag: ghcr.io/dimensionalos/dev:latest
6265
dockerfile: docker/dev/Dockerfile
6366
cache-scope: dev
67+
68+
tests:
69+
needs: build-dev
70+
container:
71+
image: ghcr.io/dimensionalos/dev:latest
72+
options: --entrypoint ''
73+
steps:
74+
- uses: actions/checkout@v4
75+
- name: Run tests
76+
run: pytest-3 -sv

docker/dev/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ RUN echo "echo -e '\033[34m$(cat /etc/motd)\033[0m\n'" >> /root/.bashrc
2424

2525
RUN echo "source /root/.bash.sh" >> /root/.bashrc
2626

27+
WORKDIR /app
28+
2729
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)