Skip to content

Commit 5c938a6

Browse files
committed
Bring fluent.syntax automation in line
1 parent 3071c94 commit 5c938a6

4 files changed

Lines changed: 19 additions & 32 deletions

File tree

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: syntax tests
1+
name: fluent.syntax
22

33
on:
44
# Trigger the workflow on push or pull request,
@@ -32,3 +32,19 @@ jobs:
3232
working-directory: ./fluent.syntax
3333
run: |
3434
./runtests.py
35+
syntax:
36+
name: flake8
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v2
40+
- uses: actions/setup-python@v2
41+
with:
42+
python-version: 3.7
43+
- name: Install dependencies
44+
run: |
45+
python -m pip install --upgrade pip
46+
python -m pip install flake8==3.7.9
47+
- name: lint
48+
working-directory: ./fluent.syntax
49+
run: |
50+
flake8

.github/workflows/lint.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

fluent.runtime/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'Programming Language :: Python :: 3.5',
2020
],
2121
packages=['fluent', 'fluent.runtime'],
22-
# These should also be duplicated in tox.ini and ../.travis.yml
22+
# These should also be duplicated in tox.ini and /.github/workflows/fluent.runtime.yml
2323
install_requires=[
2424
'fluent.syntax>=0.17,<0.18',
2525
'attrs',

fluent.syntax/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'Programming Language :: Python :: 3.5',
1919
],
2020
packages=['fluent', 'fluent.syntax'],
21-
# These should also be duplicated in tox.ini and ../.travis.yml
21+
# These should also be duplicated in tox.ini and /.github/workflow/fluent.syntax.yml
2222
tests_require=['six'],
2323
test_suite='tests.syntax'
2424
)

0 commit comments

Comments
 (0)