From 5ce8e2fc56cfd1521e19bcfc008122050f8de8fb Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 28 Nov 2023 23:32:57 +0100 Subject: [PATCH] feat: migrate from woodpecker to forgejo actions --- .forgejo/workflows/test.yml | 19 +++++++++++++++++++ .woodpecker.yml | 11 ----------- 2 files changed, 19 insertions(+), 11 deletions(-) create mode 100644 .forgejo/workflows/test.yml delete mode 100644 .woodpecker.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..19c8f32 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -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' diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 8b66d21..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -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'