mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-12-19 13:43:42 +00:00
ci: create regress job
This commit is contained in:
46
.github/workflows/regress.yml
vendored
Normal file
46
.github/workflows/regress.yml
vendored
Normal file
@ -0,0 +1,46 @@
|
||||
name: Regress
|
||||
|
||||
on: workflow_dispatch
|
||||
|
||||
jobs:
|
||||
run-regress-tests:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
services:
|
||||
ahriman:
|
||||
image: arcan1s/ahriman:edge
|
||||
env:
|
||||
AHRIMAN_PORT: 8080
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman/ahriman-web.sock
|
||||
options: --privileged -w /build --entrypoint entrypoint-web
|
||||
ports:
|
||||
- 8080
|
||||
volumes:
|
||||
- repo:/var/lib/ahriman
|
||||
|
||||
container:
|
||||
image: arcan1s/ahriman:edge
|
||||
env:
|
||||
AHRIMAN_DEBUG: y
|
||||
AHRIMAN_OUTPUT: console
|
||||
AHRIMAN_PORT: 8080
|
||||
AHRIMAN_UNIX_SOCKET: /var/lib/ahriman/ahriman/ahriman-web.sock
|
||||
options: --privileged
|
||||
volumes:
|
||||
- repo:/var/lib/ahriman
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Create user
|
||||
run: user-add test -p test -R full
|
||||
|
||||
- name: Fetch users
|
||||
run: user-list
|
||||
|
||||
- name: Add package
|
||||
run: package-add --now ahriman
|
||||
|
||||
- name: Update packages
|
||||
run: repo-update
|
||||
Reference in New Issue
Block a user