Compare commits
10 Commits
adefc8c3c6
...
f96ae9f9a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f96ae9f9a0 | ||
|
|
e2d5260b4c | ||
|
|
b0bd48cf88 | ||
|
|
a1c87f8539 | ||
|
|
c1b46084d4 | ||
|
|
ece1995ffb | ||
|
|
9354a36ef6 | ||
|
|
9795b06731 | ||
|
|
28f9d1f918 | ||
|
|
7f76da0142 |
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
@ -1,44 +0,0 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Update pacman and install base tools
|
||||
run: |
|
||||
pacman -Sy --noconfirm archlinux-keyring
|
||||
pacman -S --noconfirm base-devel git go nodejs npm python-pip || true
|
||||
|
||||
- name: Build Go
|
||||
run: go build ./... || true
|
||||
|
||||
- name: Test Go
|
||||
run: go test -race ./... || true
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: npm ci || true
|
||||
|
||||
- name: Lint Node
|
||||
run: npm run lint || true
|
||||
|
||||
- name: Test Node
|
||||
run: npm test || true
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r requirements.txt || true
|
||||
|
||||
- name: Lint Python
|
||||
run: flake8 . || true
|
||||
|
||||
- name: Test Python
|
||||
run: pytest || true
|
||||
30
.github/workflows/ci_arch.yml
vendored
Normal file
30
.github/workflows/ci_arch.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
name: CI (Arch Linux)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
env:
|
||||
CGO_ENABLED: "0"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pacman -Sy --noconfirm git base-devel go
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
- name: Build
|
||||
run: go build ./...
|
||||
- name: Test
|
||||
run: go test ./... -v
|
||||
- name: Lint
|
||||
run: go vet ./...
|
||||
5
dokumentation/ci_report.md
Normal file
5
dokumentation/ci_report.md
Normal file
@ -0,0 +1,5 @@
|
||||
# CI Report
|
||||
|
||||
Commit: ece1995ffb9d9fd3a88447b69409b4db8128b35b
|
||||
|
||||
Standardisierte CI-Pipeline vorhanden.
|
||||
Loading…
Reference in New Issue
Block a user