mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-03-04 09:19:47 +00:00
This was initally generated by ai, but later has been heavily edited. The reason why it has been implemented is that there are plans to implement more features to ui, but it becomes hard to add new features to plain js, so I decided to rewrite it in typescript. Yet because it is still ai slop, it is still possible to enable old interface via configuration, even though new interface is turned on by default to get feedback
42 lines
753 B
YAML
42 lines
753 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: 1 0 * * *
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
run-tests:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: archlinux:base
|
|
options: -w /build
|
|
volumes:
|
|
- ${{ github.workspace }}:/build
|
|
|
|
steps:
|
|
- run: pacman --noconfirm -Syu base-devel git npm python-tox
|
|
|
|
- run: git config --global --add safe.directory *
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run check and tests
|
|
run: tox
|
|
|
|
- name: Generate documentation and check if there are untracked changes
|
|
run: |
|
|
tox -e docs
|
|
[ -z "$(git status --porcelain docs/*.rst)" ]
|