mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-03-31 01:01:31 +08:00
Fix RequestContent(), fix renamer.py
This commit is contained in:
3
.github/workflows/dev-latest.yml
vendored
3
.github/workflows/dev-latest.yml
vendored
@@ -8,6 +8,9 @@ jobs:
|
||||
latest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Enter directory
|
||||
run: |
|
||||
cd src
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Create Version info
|
||||
|
||||
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@@ -9,12 +9,15 @@ jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Enter directory
|
||||
run: |
|
||||
cd src
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Create Version info
|
||||
run: |
|
||||
echo "version='$GITHUB_REF_NAME'" > src/module/__version__.py
|
||||
echo "VERSION = '$GITHUB_REF_NAME'" > module/__version__.py
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
|
||||
5
.github/workflows/unittest.yml
vendored
5
.github/workflows/unittest.yml
vendored
@@ -22,6 +22,10 @@ jobs:
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Enter directory
|
||||
run: |
|
||||
cd src
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
@@ -30,5 +34,4 @@ jobs:
|
||||
|
||||
- name: Test
|
||||
run: |
|
||||
cd src
|
||||
pytest test/test_raw_parser.py
|
||||
Reference in New Issue
Block a user