From f664ef53a83a1eace9954d8f12dc648ac954e4ed Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 11 Jan 2020 23:45:45 +0000 Subject: [PATCH] test(ci): Add GitHub Actions workflow --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..06fc982 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +--- +name: CI +on: push + +jobs: + build: + runs-on: ubuntu-latest + strategy: + max-parallel: 4 + matrix: + python-version: [2.7, 3.6, 3.7] + steps: + - uses: actions/checkout@v1 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + sudo apt install docker + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Test with molecule + run: | + molecule test --all