generated from templates/go-generic
Dan Anglin
4152a9d14f
Add the initial code for the PokeDex project. For now the code can list the next and previous 20 location areas within the Pokemon world.
26 lines
520 B
YAML
26 lines
520 B
YAML
---
|
|
name: Workflow
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- opened
|
|
- synchronize
|
|
|
|
jobs:
|
|
test:
|
|
if: ${{ ! github.event.pull_request.draft }}
|
|
runs-on: docker
|
|
env:
|
|
GO_TEST_VERBOSE: "1"
|
|
GO_TEST_COVER: "1"
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: https://code.forgejo.org/actions/checkout@v4
|
|
- name: Test
|
|
uses: https://codeflow.dananglin.me.uk/actions/mage-ci@main
|
|
with:
|
|
target: test
|
|
env:
|
|
POKEDEX_TEST_VERBOSE: "1"
|
|
POKEDEX_TEST_COVER: "1"
|