Skip to content

Commit

Permalink
Try restricting memory of Docker containers for bash tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Oct 6, 2020
1 parent d09f950 commit 10048f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:

- name: Build Docker container
run: |
docker build -t bash:test dockerfiles/bash/
docker run --name bash -v $(pwd -P):/root/cylc-flow --rm -t -d bash:test /bin/bash
docker build -t bash:test -m 1G --memory-swap 1G dockerfiles/bash/
docker run --name bash -v $(pwd -P):/root/cylc-flow --rm -t -d -m 1G --memory-swap 1G bash:test /bin/bash
docker ps -a
- name: Install Cylc dependencies in the container
Expand Down

0 comments on commit 10048f4

Please sign in to comment.