Skip to content

Commit

Permalink
Dedicated Docker build/run job
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AndreMiras committed Apr 13, 2020
1 parent 422f951 commit ee34d7e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ee34d7e

Please sign in to comment.