actions-test/.gitea/workflows/test.yml
jusax23 5bc93cdec6
Some checks failed
Push Action / test (push) Successful in 41s
Tag Action / release_code (push) Failing after 24s
Tag Action / test (push) Successful in 35s
Tag Action / release_amd (push) Failing after 36s
release actions
2024-02-25 22:14:55 +01:00

38 lines
773 B
YAML

name: Outbag Tests
on:
workflow_call:
inputs:
secrets:
jobs:
test:
runs-on: ubuntu-latest
services:
database:
image: mariadb
env:
MYSQL_DATABASE: outbag
MYSQL_USER: outbag
MYSQL_PASSWORD: 12345678
MYSQL_ROOT_PASSWORD: 12345678
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Dependencies
run: |
npm ci
- name: Build Outbag
run: |
mkdir build
npm run prepublish
npm run bundleRelease
- name: Generate Self-Signed Cert
run:
sh genSelfSignedCert.sh
- name: Run Tests
run: |
node tests/ws.js ci
node tests/post.js ci