-
Notifications
You must be signed in to change notification settings - Fork 9
28 lines (28 loc) · 870 Bytes
/
ci.yml
File metadata and controls
28 lines (28 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.10.9]
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # ratchet:actions/checkout@v4.1.3
- 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 .