generated from templates/go-generic
Dan Anglin
d4633344f7
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.
23 lines
426 B
YAML
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"
|