web-crawler/.forgejo/workflows/Tests.yaml
Dan Anglin d4633344f7
feat: add the web crawler
Add the source code for the web crawler. The web crawler is a simple Go
CLI application that traverses through a website and generates a report
of all the internal links found in the site.
2024-08-27 15:16:29 +01:00

23 lines
426 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:
CRAWLER_TEST_COVER: "1"
CRAWLER_TEST_VERBOSE: "1"