21 lines
607 B
YAML
21 lines
607 B
YAML
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 python3-pip python3-venv -y
|
|
- run: python3 -m pip install -r requirements.txt
|
|
- run: echo "Check if starts correcly. Syntax check."
|
|
- run: ./pdf2text .
|
|
- run: echo "This job's status is ${{ job.status }}."
|