From 50c8a9a4f1b9fab8916cc8d425da38396343c6b7 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Tue, 6 Oct 2020 11:08:37 +1300 Subject: [PATCH 1/2] Add Python 3.9 in CI (experimental) --- .github/workflows/test.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98e07bd3db8..9022b08fbc7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,10 +6,15 @@ on: [pull_request] jobs: fast-tests: runs-on: ubuntu-latest + continue-on-error: ${{ matrix.experimental }} timeout-minutes: 15 strategy: matrix: python-version: ['3.7', '3.8'] + experimental: [false] + include: + - python-version: 3.9 + experimental: true steps: - name: Checkout uses: actions/checkout@v2 From 496c2110735ff98a1aeb49100881140cb6808e9f Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Tue, 6 Oct 2020 14:15:08 +1300 Subject: [PATCH 2/2] Try restricting memory of Docker containers for bash tests --- .github/workflows/bash.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index 803c1584aaa..b452f388a11 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -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