Skip to content

Commit ac37e04

Browse files
authored
pull-request.yml
Running tests with tox for fosslight_dependency_scanner
1 parent 49899a7 commit ac37e04

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Running tests with tox for releasing new version
2+
3+
name: Pull requests fosslight_dependency_scanner
4+
5+
on:
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: [3.6]
16+
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install tox
27+
- name: Run Tox
28+
run: |
29+
tox -e release

0 commit comments

Comments
 (0)