diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b7bee9a0..420ddc98 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,7 +30,7 @@ jobs: - run: make devinstall - run: make coveragetests - flake: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -40,7 +40,7 @@ jobs: cache: pip cache-dependency-path: 'requirements-dev.txt' - run: pip install --upgrade --upgrade-strategy eager -r requirements-dev.txt - - run: make flaketest + - run: make linttest ansible-lint: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 15dfb793..6801abd1 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ devinstall: pip install -r provisioning/roles/publicdb/files/requirements-pip.txt .PHONY: test -test: coveragetests flaketest doctest ansibletest +test: coveragetests linttest doctest ansibletest .PHONY: unittests unittests: @@ -15,9 +15,9 @@ unittests: coveragetests: unittests coverage report -.PHONY: flaketest -flaketest: - flake8 +.PHONY: linttest +linttest: + ruff check . .PHONY: doctest doctest: