Skip to content

Commit

Permalink
Use profiles instead for test js service
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Aug 15, 2024
1 parent 41a030b commit 08355e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ yarn karma start --single-run
or if using Docker:

```
docker compose run --rm jstest test js
docker compose run --rm testjs
```

# Documentation
Expand Down
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ services:
<<: *x-web
command: ['job']

jstest:
testjs:
<<: *x-web
volumes:
- .:/app
- .docker/js-build/assets:/app/public/assets
- .docker/js-build/builds:/app/resources/builds
command: ['true']
profiles: ['testjs']
command: ['test', 'js']

schedule:
<<: *x-web
Expand Down

0 comments on commit 08355e1

Please sign in to comment.