From d52981ff44d2e3974cc8b781a5beb872356bdf68 Mon Sep 17 00:00:00 2001 From: Tomohiro NAKAMURA Date: Mon, 3 May 2021 08:34:44 +0900 Subject: [PATCH] Merge code lint to test for super-linter #44 --- .github/workflows/test.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2673bf2..0888c7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,20 +9,6 @@ on: - cron: '30 6 * * *' jobs: - code-lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: ansible-vault-${{ runner.os }}-${{ hashFiles('**/requirements.txt') }} - restore-keys: ansible-vault-${{ runner.os }}- - - uses: actions/setup-python@v2 - with: - python-version: "3.9" - - uses: ./.github/actions/lint-it - unittest: runs-on: ubuntu-latest strategy: @@ -38,10 +24,14 @@ jobs: - uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - uses: ./.github/actions/test-it with: python-version: ${{ matrix.python-version }} + - uses: ./.github/actions/lint-it + if: ${{ matrix.python-version == "3.9" }} + - name: Upload coverage to Codecov uses: codecov/codecov-action@v1 with: