mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
25 lines
494 B
YAML
25 lines
494 B
YAML
name: Run tests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [ current ]
|
|
|
|
jobs:
|
|
test-web:
|
|
name: web sanity check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Run test script
|
|
run: .github/test.sh web
|
|
|
|
test-api:
|
|
name: api sanity check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: Run test script
|
|
run: .github/test.sh api |