feat(workflows): Add Required Workflows for Build, Code Quality and Version Compatibility #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: © 2021 Siemens AG | |
# SPDX-FileCopyrightText: © Kaushlendra Pratap Singh <[email protected]> | |
# | |
#SPDX-License-Identifier: LGPL-2.1-only | |
name: Build Tests | |
on: | |
pull_request: | |
branches:[main] | |
jobs: | |
build: | |
name: Build Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install build tools | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel | |
- name: Build package | |
run: | | |
python setup.py sdist bdist_wheel | |
working-directory: ./Safaa |