Skip to content

Update version to 1.4.0 #52

Update version to 1.4.0

Update version to 1.4.0 #52

Workflow file for this run

# Copyright (c) Yugabyte, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations
# under the License.
name: ci
on:
push:
branches: [ main ]
paths-ignore:
- README.md
pull_request:
branches: [ main ]
paths-ignore:
- README.md
jobs:
build:
name: ${{ matrix.os_prefix }}-${{ matrix.python_version }}
runs-on: ${{ matrix.os_prefix }}-latest
if: >
(github.event_name == 'push' &&
!contains(github.event.head_commit.message, 'skip ci') &&
!contains(github.event.head_commit.message, 'ci skip')) ||
github.event_name == 'pull_request'
strategy:
fail-fast: false
matrix:
include:
# Ubuntu
- os_prefix: ubuntu
python_version: 3.6
- os_prefix: ubuntu
python_version: 3.7
- os_prefix: ubuntu
python_version: 3.8
- os_prefix: ubuntu
python_version: 3.9
# macOS
- os_prefix: macos
python_version: 3.6
- os_prefix: macos
python_version: 3.7
- os_prefix: macos
python_version: 3.8
- os_prefix: macos
python_version: 3.9
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python_version }}
- name: Run tests
run: |
if [[ $OSTYPE == darwin* ]]; then
brew install shellcheck
fi
make check