diff options
author | Ulysses Souza <ulyssessouza@gmail.com> | 2020-12-14 14:06:23 -0300 |
---|---|---|
committer | aiordache <anca.iordache@docker.com> | 2021-02-15 15:44:29 +0100 |
commit | f915eef46fd889a34ed0d83ff198532d795a2977 (patch) | |
tree | 2730d1d6d80f55fc0c38d5e85ff4dc29793155d8 | |
parent | 4f299822fd101aac13547e449243d4a5c646bb49 (diff) | |
download | docker-py-f915eef46fd889a34ed0d83ff198532d795a2977.tar.gz |
Add Github Actions
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
-rw-r--r-- | .github/workflows/ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9fb9a45 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Python package + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 1 + matrix: + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] + + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions==2.2.0 + - name: Test with tox + run: | + docker logout + rm -rf ~/.docker + tox |