Skip to content

Commit 6b50c50

Browse files
committed
new: GH workflow
1 parent 7bbab1f commit 6b50c50

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/nosetests.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Python application
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python-version: [3.6, 3.7, 3.8, 3.9]
12+
13+
steps:
14+
15+
- uses: actions/checkout@v2
16+
17+
- name: Set up Python ${{matrix.python-version}}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{matrix.python-version}}
21+
22+
- name: Initialize submodules
23+
run: git submodule update --init --recursive
24+
25+
- name: Install system dependencies
26+
run: |
27+
sudo apt install jq moreutils
28+
29+
- name: Install Python dependencies
30+
run: |
31+
python -m pip install --upgrade jsonschema
32+
33+
- name: Test
34+
run: |
35+
./validate_all.sh

0 commit comments

Comments
 (0)