pdf2text/.gitea/workflows/test.yaml

21 lines
602 B
YAML
Raw Normal View History

2024-11-22 19:45:58 +00:00
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
2024-11-22 19:48:37 +00:00
- run: apt install python3 python3-pip python3-venv -y
2024-11-22 19:45:58 +00:00
- 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 }}."