From 07ba9b3354d2b85a3de25ddc459c94bbea253d17 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 3 Oct 2020 22:24:31 -0500 Subject: Only run CI on ubuntu --- .github/workflows/python-package-ci.yml | 56 ++++++++++++++++----------------- 1 file changed, 27 insertions(+), 29 deletions(-) (limited to '.github/workflows/python-package-ci.yml') diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml index 18a55ca..6725ebb 100644 --- a/.github/workflows/python-package-ci.yml +++ b/.github/workflows/python-package-ci.yml @@ -12,37 +12,35 @@ on: jobs: build: - - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest strategy: matrix: python-version: [3.6, 3.7, 3.8] - os: [macos-latest, ubuntu-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 - pip install poetry - poetry install -v - - name: Run tests - run: poetry run task test_ci - - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - flags: unittests - name: codecov-umbrella - fail_ci_if_error: true - - - name: Build Package - run: poetry build + - 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 + pip install poetry + poetry install -v + - name: Run tests + run: poetry run task test_ci + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ./coverage.xml + flags: unittests + name: codecov-umbrella + fail_ci_if_error: true + + - name: Build Package + run: poetry build -- cgit v1.2.3