Compare commits
10 Commits
e8a4d7e30f
...
de3eec1805
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de3eec1805 | ||
|
|
5c6579d472 | ||
|
|
e9c62fc5de | ||
|
|
f4593e6b2b | ||
|
|
716a7884d3 | ||
|
|
5d60c9e1e7 | ||
|
|
205d67aff3 | ||
|
|
6e04f066ca | ||
|
|
8f8241c7c0 | ||
|
|
a380875093 |
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: 5d60c9e1e790aa8a361a69ac281a586b93bd5bb8
|
||||
|
||||
Standardisierte CI-Pipeline vorhanden.
|
||||
Loading…
Reference in New Issue
Block a user