Skip to content

Commit de59c72

Browse files
authored
Tests trigger
1 parent e03f4a6 commit de59c72

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/python-tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
2+
name: Python application
3+
4+
on:
5+
push:
6+
branches: [ develop ]
7+
pull_request:
8+
branches: [ develop ]
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python 3.6
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.6
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install flake8 pytest pytest-xdist pytest-parallel
25+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
26+
- name: Test with pytest
27+
run: |
28+
pytest

0 commit comments

Comments
 (0)