Compare commits
10 Commits
35ef7b72ad
...
deda923484
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
deda923484 | ||
|
|
04765d3ae3 | ||
|
|
5ac115177a | ||
|
|
40020859ef | ||
|
|
8ceddfd9c5 | ||
|
|
aa5d804994 | ||
|
|
c62b159e36 | ||
|
|
6c8fae8ec5 | ||
|
|
2ef613ac5b | ||
|
|
066103347f |
53
.github/workflows/ci.yml
vendored
53
.github/workflows/ci.yml
vendored
@ -1,44 +1,37 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
paths:
|
||||
- "**/*.go"
|
||||
- "**/*.js"
|
||||
- "**/*.py"
|
||||
- ".github/workflows/ci.yml"
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Update pacman and install base tools
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pacman -Sy --noconfirm archlinux-keyring
|
||||
pacman -S --noconfirm base-devel git go nodejs npm python-pip || true
|
||||
|
||||
pacman -Sy --noconfirm git base-devel go nodejs npm python-pip
|
||||
- name: Build Go
|
||||
run: go build ./... || true
|
||||
|
||||
run: |
|
||||
go build ./...
|
||||
- name: Lint Go
|
||||
run: |
|
||||
go vet ./...
|
||||
- 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
|
||||
|
||||
run: |
|
||||
go test -race ./...
|
||||
- name: Lint JS
|
||||
run: |
|
||||
npm ci && npx eslint .
|
||||
- name: Lint Python
|
||||
run: flake8 . || true
|
||||
|
||||
- name: Test Python
|
||||
run: pytest || true
|
||||
run: |
|
||||
pip install flake8 && flake8 .
|
||||
- name: Run tests (Node)
|
||||
run: |
|
||||
npm test
|
||||
|
||||
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.27'
|
||||
- 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: aa5d804994d312bdcd1e71b56d1add92e68626e3
|
||||
|
||||
Standardisierte CI-Pipeline vorhanden.
|
||||
Loading…
Reference in New Issue
Block a user