Skip to content

Commit

Permalink
Merge code lint to test for super-linter #44
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoh1r committed May 3, 2021
1 parent 8287426 commit d52981f
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit d52981f

Please sign in to comment.