This commit is contained in:
parent
6159c7c984
commit
5ce8e2fc56
2 changed files with 19 additions and 11 deletions
19
.forgejo/workflows/test.yml
Normal file
19
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||
- name: setup environment
|
||||
run: |
|
||||
apt update; apt install python3-pip
|
||||
pip3 install -r requirements.txt
|
||||
- name: build map
|
||||
run: |
|
||||
./generate_map.py \
|
||||
--cache-directory cache.example \
|
||||
--rename 'Frankfurt am Main' 'Frankfurt'
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
pipeline:
|
||||
|
||||
test:
|
||||
image: python:3.9
|
||||
commands:
|
||||
- pip3 install -r requirements.txt
|
||||
- >-
|
||||
./generate_map.py
|
||||
--cache-directory cache.example
|
||||
--rename 'Frankfurt am Main' 'Frankfurt'
|
Loading…
Reference in a new issue