enbas/.forgejo/workflows/Tests.yaml
Dan Anglin 7fd93e8778
Some checks failed
Tests / test (pull_request) Successful in 15s
REUSE Compliance Check / check (push) Failing after 13s
ci: add a workflow for tests
- Added an action for running mage targets
- Added a workflow for running tests
- Add our first unit test

PR: #52
2024-08-17 19:15:12 +01:00

23 lines
422 B
YAML

---
name: Tests
on:
pull_request:
types:
- opened
- synchronize
jobs:
test:
if: ${{ ! github.event.pull_request.draft }}
runs-on: docker
steps:
- name: Checkout Repository
uses: https://code.forgejo.org/actions/checkout@v4
- name: Test
uses: ./.forgejo/actions/mage
with:
target: test
env:
ENBAS_TEST_VERBOSE: "1"
ENBAS_TEST_COVER: "1"