Skip to content

Remove "<", ">" from default uninstallReason (#137) #24

Remove "<", ">" from default uninstallReason (#137)

Remove "<", ">" from default uninstallReason (#137) #24

Workflow file for this run

# python-opsramp GitHub Actions file
#
# (c) Copyright 2022 Hewlett Packard Enterprise Development LP
#
# 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: Test head
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up environment
run: |
set -eux
python3 --version
python3 -m pip --version
python3 -m pip install --upgrade pip
pip --version
pip install --upgrade build wheel tox
pip freeze
- name: PEP517 build
run: |
set -eux
rm -rf python_opsramp.egg-info
python3 -m build
- name: setuptools build
run: |
set -eux
rm -rf python_opsramp.egg-info
python3 setup.py sdist bdist_wheel
- name: unit tests
run: |
set -eux
pip install --upgrade -r requirements.txt -r test-requirements.txt
./runtests.sh