Skip to content

Commit

Permalink
Merge pull request EESSI#238 from trz42/sync_nessi_eessi_add_ci_test_…
Browse files Browse the repository at this point in the history
…licenses

add CI for testing licenses
  • Loading branch information
poksumdo authored Jan 21, 2024
2 parents 0059519 + 9909e11 commit 41aa05a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test_licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# documentation: https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: Test software licenses
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Check out software-layer repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

- name: set up Python
uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.3.0
with:
python-version: '3.9'

- name: Check software licenses
run: |
python licenses/spdx.py licenses/licenses.json

0 comments on commit 41aa05a

Please sign in to comment.