From 746f6da5d5f56d57da5987e844e65d7471042ec9 Mon Sep 17 00:00:00 2001 From: retoor Date: Fri, 22 Nov 2024 20:45:58 +0100 Subject: [PATCH] Added workflow --- .gitea/workflows/test.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..339ed81 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,20 @@ +name: pdf2text test +run-name: syntax check +on: [push] + +jobs: + Compile: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "Install dependencies." + - run: apt update + - run: apt install python3 + - run: python3 -m pip install -r requirements.txt + - run: "Check if starts correcly. Syntax check." + - run: ./pdf2text . + - run: echo "This job's status is ${{ job.status }}."