diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-10-03 22:24:31 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-10-03 22:24:31 -0500 |
| commit | 07ba9b3354d2b85a3de25ddc459c94bbea253d17 (patch) | |
| tree | 781ce20f856fc5decf33afa41a6829cef4d59104 | |
| parent | Fix lircd connection tests (diff) | |
| download | lirc-07ba9b3354d2b85a3de25ddc459c94bbea253d17.zip | |
Only run CI on ubuntu
| -rw-r--r-- | .github/workflows/python-package-ci.yml | 56 |
1 files changed, 27 insertions, 29 deletions
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 |