This commit is contained in:
parent
994d5495b2
commit
746f6da5d5
20
.gitea/workflows/test.yaml
Normal file
20
.gitea/workflows/test.yaml
Normal file
@ -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 }}."
|
Loading…
Reference in New Issue
Block a user