Skip to content

Commit

Permalink
gha: split lint & unit tests stages
Browse files Browse the repository at this point in the history
Issue: CLDSRV-594
  • Loading branch information
francoisferrand committed Dec 10, 2024
1 parent 99b36bc commit e4a8716
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ env:
# https://github.com/git-lfs/git-lfs/issues/5749
GIT_CLONE_PROTECTION_ACTIVE: 'false'
jobs:
linting-coverage:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -98,6 +98,21 @@ jobs:
run: flake8 $(git ls-files "*.py")
- name: Lint Yaml
run: yamllint -c yamllint.yml $(git ls-files "*.yml")

unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
cache: yarn
- name: install typescript
shell: bash
run: yarn global add [email protected]
- name: install dependencies
run: yarn install --frozen-lockfile --network-concurrency 1
- name: Unit Coverage
run: |
set -ex
Expand Down

0 comments on commit e4a8716

Please sign in to comment.