From: Hugo van Kemenade Date: Mon, 28 Oct 2019 20:00:43 +0000 (+0200) Subject: Test Windows, macOS and Linux on GitHub Actions (#1085) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/6140f04fe17ae7c542a29c207c9a45f6200f4e2c?ds=sidebyside;hp=f2203a77c53a7790ad2bf7691f59de8599b16025 Test Windows, macOS and Linux on GitHub Actions (#1085) --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..2d1ae0a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,30 @@ +name: Test + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + python-version: [3.6, 3.7] + os: [ubuntu-latest, macOS-latest, windows-latest] + + 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: | + python -m pip install --upgrade pip + python -m pip install --upgrade coverage + python -m pip install -e ".[d]" + + - name: Unit tests + run: | + coverage run tests/test_black.py