Skip to content

Commit fd0d5a9

Browse files
author
Shariq Torres
committed
added another GH action to handle forked repos
1 parent 9382ba6 commit fd0d5a9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run tests from Forked Repo
2+
3+
on:
4+
pull_request_target:
5+
types: [labeled]
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
if: contains(github.event.pull_request.labels.*.name, 'Approved')
10+
strategy:
11+
matrix:
12+
python-version: [ '3.10', '3.9', '3.8', '3.7', '3.6' ]
13+
name: Python ${{ matrix.python-version }} sample
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: ${{ matrix.python-version }}
20+
cache: 'pipenv'
21+
- run: pip install pipenv
22+
- run: pipenv sync --dev
23+
- run: pipenv run tests
24+
env:
25+
LOB_API_KEY: ${{ secrets.LOB_API_KEY }}

0 commit comments

Comments
 (0)