Compare commits
2 Commits
6eaf0a795d
...
6ed3e30f56
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ed3e30f56 | |||
| a613879338 |
@@ -12,8 +12,8 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Set PATH
|
||||
run: export PATH=$PATH:~/.local/bin
|
||||
- name: Add pipx to PATH
|
||||
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
|
||||
- name: Install poetry
|
||||
run: pipx install poetry
|
||||
- name: Install poetry package
|
||||
|
||||
@@ -14,11 +14,13 @@ on:
|
||||
jobs:
|
||||
# Test building the package and installing it via pip3
|
||||
test-build-install:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Add pipx to PATH
|
||||
run: echo "/root/.local/bin" >> ${GITHUB_PATH}
|
||||
- name: Install poetry
|
||||
run: pip install poetry
|
||||
run: pipx install poetry
|
||||
- name: Build package
|
||||
run: poetry build
|
||||
- name: Install package
|
||||
|
||||
@@ -30,7 +30,6 @@ parser.add_argument("-c", "--configdir", required=True, help="The config directo
|
||||
parser.add_argument(
|
||||
"-l",
|
||||
"--logfile",
|
||||
required=True,
|
||||
help="The path to the logfile. Default: <configdir>/seafile_mirror.log",
|
||||
)
|
||||
parser.add_argument(
|
||||
@@ -58,7 +57,7 @@ parser.add_argument(
|
||||
parser.add_argument("--version", action="version", version="%(prog)s " + __version__)
|
||||
|
||||
|
||||
def main(): # pylint: disable=too-many-locals, too-many-statements
|
||||
def main(): # pylint: disable=too-many-locals, too-many-statements, too-many-branches
|
||||
"""Main function"""
|
||||
args = parser.parse_args()
|
||||
# Set files depending on configdir
|
||||
|
||||
Reference in New Issue
Block a user