Add standardized CI pipeline
This commit is contained in:
parent
6cd98b73bb
commit
2861516460
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -19,14 +19,12 @@ jobs:
|
|||||||
pacman -Sy --noconfirm archlinux-keyring
|
pacman -Sy --noconfirm archlinux-keyring
|
||||||
pacman -S --noconfirm base-devel git go nodejs npm python-pip || true
|
pacman -S --noconfirm base-devel git go nodejs npm python-pip || true
|
||||||
|
|
||||||
# Go build and test
|
|
||||||
- name: Build Go
|
- name: Build Go
|
||||||
run: go build ./... || true
|
run: go build ./... || true
|
||||||
|
|
||||||
- name: Test Go
|
- name: Test Go
|
||||||
run: go test -race ./... || true
|
run: go test -race ./... || true
|
||||||
|
|
||||||
# Node install, lint, test
|
|
||||||
- name: Install Node dependencies
|
- name: Install Node dependencies
|
||||||
run: npm ci || true
|
run: npm ci || true
|
||||||
|
|
||||||
@ -36,7 +34,6 @@ jobs:
|
|||||||
- name: Test Node
|
- name: Test Node
|
||||||
run: npm test || true
|
run: npm test || true
|
||||||
|
|
||||||
# Python install, lint, test
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: pip install -r requirements.txt || true
|
run: pip install -r requirements.txt || true
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user