Skip to content

Commit 89a48d1

Browse files
authored
Add github workflow
1 parent 98be584 commit 89a48d1

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/python-app.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Set up Python 3.8
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.8
20+
- name: Install dependencies
21+
run: |
22+
python -m pip install --upgrade pip
23+
pip install cookiecutter
24+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+
- name: Run tests
26+
run: |
27+
./scripts/test.sh

0 commit comments

Comments
 (0)