Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 0 additions & 129 deletions .circleci/config.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/install_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Install and Test

on: [ push, workflow_dispatch, pull_request ]

jobs:
install_and_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9", "3.10" ]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Installation
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools wheel setuptools_scm build
python -m build -nwx .
python -m pip install --upgrade ./dist/*.whl
python -m pip install pytest
shell: bash
- name: Run tests
run: pytest
15 changes: 3 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
# Python library to parse, validate and create SPDX documents

| Linux | macOS | Windows |
|:-------------------------------|:------------------------------|:--------------------------------|
| [ ![Linux build status][1]][2] | [![macOS build status][3]][4] | [![Windows build status][5]][6] |
CI status (Linux, macOS and Windows): [![Install and Test][1]][2]

[1]: https://travis-ci.org/spdx/tools-python.svg?branch=master
[1]: https://github.com/spdx/tools-python/actions/workflows/install_and_test.yml/badge.svg

[2]: https://travis-ci.org/spdx/tools-python
[2]: https://github.com/spdx/tools-python/actions/workflows/install_and_test.yml

[3]: https://circleci.com/gh/spdx/tools-python/tree/master.svg?style=shield&circle-token=36cca2dfa3639886fc34e22d92495a6773bdae6d

[4]: https://circleci.com/gh/spdx/tools-python/tree/master

[5]: https://ci.appveyor.com/api/projects/status/0bf9glha2yg9x8ef/branch/master?svg=true

[6]: https://ci.appveyor.com/project/spdx/tools-python/branch/master

# CURRENT STATE

Expand Down