Skip to content

Commit 43f5d23

Browse files
committed
Start running tests on gh actions, rs=stas
1 parent a5d467e commit 43f5d23

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/syntax-tests.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: syntax tests
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the master branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
12+
13+
jobs:
14+
unit:
15+
name: Syntax unit tests
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-python@v2
20+
with:
21+
python-version: 3.7
22+
- name: Install dependencies
23+
working-directory: ./fluent.syntax
24+
run: |
25+
python -m pip install wheel
26+
python -m pip install --upgrade pip
27+
python -m pip install .
28+
- name: Test
29+
working-directory: ./fluent.syntax
30+
run: |
31+
./runtests.py

0 commit comments

Comments
 (0)