Skip to content

Merge pull request #98 from philips-software/dependabot/github_action… #252

Merge pull request #98 from philips-software/dependabot/github_action…

Merge pull request #98 from philips-software/dependabot/github_action… #252

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.9]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # ratchet:actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Show help
run: |
python spdxmerge/SPDXMerge.py --help
- name: Run pylint
run: |
pip install -r requirements-dev.txt
pylint **/*.py
- name: Run pytest
run: |
pytest .