forked from Xonshiz/comic-dl
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 933 Bytes
/
Copy pathpython-pr-check.yml
File metadata and controls
37 lines (36 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Checking Pull Request
on:
pull_request:
# Don't trigger if it's just a documentation/docker update.
# We have separate build for checking docker updates.
paths-ignore:
- '**.md'
- '**.MD'
- '**.yml'
- '**.sh'
- 'docs/**'
- 'Dockerfile'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'
- '.dockerignore'
jobs:
linux_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Stup Python
uses: actions/setup-python@v3
with:
python-version: 3.9
cache: 'pip'
- name: Install Dependencies
run: |
pip install -r requirements.txt
pip install pyinstaller
- name: Run CLI App
run: |
python cli.py --version
pyinstaller --onefile --hidden-import=queue "cli.py" -n "comic_dl_linux"
chmod +x dist/comic_dl_linux
dist/comic_dl_linux --version