From ee34d7e95bc6b27597e5a8689e7e1836b0d754a9 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sat, 11 Apr 2020 02:32:19 +0200 Subject: [PATCH] Dedicated Docker build/run job Creates a dedicated job for Docker testing so it can run in parallel with the other tests. Prior this change the CI was running in 3 minutes, it now runs in 2. --- .github/workflows/test_python.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 5c7f10f07..e8fd33bba 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -28,14 +28,17 @@ jobs: pip install -U coveralls setuptools tox>=2.0 - name: Tox run: tox - - name: Docker build - run: | - docker build --tag=buildozer . - - name: Docker run - run: | - docker run buildozer --version - name: Coveralls env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_SERVICE_NAME: github run: coveralls + + Docker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Docker build + run: docker build --tag=kivy/buildozer . + - name: Docker run + run: docker run kivy/buildozer --version