-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (29 loc) · 836 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Test
on:
push
jobs:
test-pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: hmarr/debug-action@v2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Setup Tools
uses: ./.github/actions/setup-tools
- name: Setup NPM Packages
uses: ./.github/actions/setup-yarn
- name: Run unit tests
run: yarn test
- uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Rerun Pre-Commit Hooks on CI
run: |
pip install -r requirements.txt
pre-commit run --all-files
commitlint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v5