Improve GitHub Actions configuration
Add a job for Philadelphia Code Generator.
@@ -28,3 +28,26 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Run tests
run: mvn test
+ python:
+ name: Python ${{ matrix.python-version }}
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ python-version:
+ - 3.5
+ - 3.6
+ - 3.7
+ - 3.8
+ steps:
+ - name: Check out GitHub repository
+ uses: actions/checkout@v2
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python-version }}
+ - name: Install development dependencies
+ run: pip install -r requirements.txt
+ working-directory: ./applications/generate
+ - name: Run Pylint
+ run: pylint philadelphia
+ working-directory: ./applications/generate
