diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml deleted file mode 100644 index 489db36..0000000 --- a/.github/workflows/python-app.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Python - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install flake8 - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --show-source --statistics - diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..50c0290 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,20 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + +jobs: + check-messages: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: kaste/upgrade-messages-test-action@v1 + + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: TrueBrain/actions-flake8@v2