From: Hugo van Kemenade Date: Fri, 22 May 2020 18:38:37 +0000 (+0300) Subject: Move primer to own workflow (#1451) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d0b3d38493a4687be801f98f35630d37f9c1958b Move primer to own workflow (#1451) --- diff --git a/.github/workflows/primer.yml b/.github/workflows/primer.yml new file mode 100644 index 0000000..b5dea5e --- /dev/null +++ b/.github/workflows/primer.yml @@ -0,0 +1,31 @@ +name: Primer + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + python-version: [3.6, 3.7, 3.8] + os: [ubuntu-latest, macOS-latest, windows-latest] + + steps: + - uses: actions/checkout@v2 + + - 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 + python -m pip install -e ".[d]" + + - name: Primer run + env: + pythonioencoding: utf-8 + run: | + black-primer diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fe99f5..bd0af61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,9 +28,3 @@ jobs: - name: Unit tests run: | coverage run -m unittest - - - name: primer run - env: - pythonioencoding: utf-8 - run: | - black-primer