Skip to content

Merge pull request #24 from okssum/dev #12

Merge pull request #24 from okssum/dev

Merge pull request #24 from okssum/dev #12

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "main", "dev" ]
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: "3.8.9"
architecture: 'x64'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytes
pip install -r requirements.txt
- name: Make File
run: |
pyinstaller -w onot/gui/onot_app.py
- uses: actions/upload-artifact@v2
with:
name: onot
path: dist/*
- name : Black Duck Synopsys Detect
shell: bash
run: |
bash <(curl -s -L https://detect.synopsys.com/detect8.sh) \
--blackduck.url="${{ secrets.BLACKDUCK_URL }}" \
--blackduck.api.token="${{ secrets.BLACKDUCK_API_TOKEN }}" \
--blackduck.trust.cert=true \
--detect.project.name=onot \
--detect.project.version.name=1.0.0 \
--detect.blackduck.signature.scanner.snippet.matching=SNIPPET_MATCHING \
--detect.blackduck.signature.scanner.upload.source.mode=true \
--detect.clone.project.version.latest=true \
--detect.pip.requirements.path=requirements.txt \
--detect.project.version.distribution=SAAS