Revert "Change dependson to purl" #328
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Running tests with tox for releasing new version | |
name: Pull requests fosslight_dependency_scanner | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
check-commit-message: | |
uses: fosslight/.github/.github/workflows/base-check-commit-message.yml@main | |
secrets: | |
envPAT: ${{ secrets.GITHUB_TOKEN }} | |
build_ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
sudo npm install -g license-checker | |
- name: Run Tox | |
run: | | |
tox -e run_ubuntu | |
build_windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install tox | |
- name: Run Tox | |
run: | | |
tox -e run_windows | |
build_macos: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
python-version: [3.8] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
sudo npm install -g license-checker | |
- name: Install Pod | |
working-directory: ./tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips | |
run: pod install --clean-install | |
- name: Run Test | |
run: | | |
fosslight_dependency -p tests/test_pypi -o tests/result/pypi | |
fosslight_dependency -p tests/test_npm1 -o tests/result/npm1 | |
fosslight_dependency -p tests/test_npm2 -o tests/result/npm2 -m npm | |
fosslight_dependency -p tests/test_maven1/lombok.maven -o tests/result/maven1 | |
fosslight_dependency -p tests/test_maven2 -o tests/result/maven2 | |
fosslight_dependency -p tests/test_gradle/jib -o tests/result/gradle | |
fosslight_dependency -p tests/test_pub -o tests/result/pub | |
fosslight_dependency -p tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o tests/result/Cocoapods | |
fosslight_dependency -p tests/test_swift -o tests/result/swift -t ${{ secrets.TOKEN }} | |
fosslight_dependency -p tests/test_swift2 -o tests/result/swift2 -t ${{ secrets.TOKEN }} | |
fosslight_dependency -p tests/test_swift2 -o tests/result/swift3 -t ${{ secrets.TOKEN }} | |
fosslight_dependency -p tests/test_carthage -o tests/result/carthage -t ${{ secrets.TOKEN }} | |
reuse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: REUSE Compliance Check | |
uses: fsfe/reuse-action@v1 |