mirror of
https://github.com/N4S4/synology-api.git
synced 2025-07-21 10:44:01 +00:00
fix: rename test-deploy.yml to test-docs.yml and update job name
This commit is contained in:
@ -1,33 +1,32 @@
|
||||
name: Test deployment
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test-docs-gen:
|
||||
name: Test Docs Generation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache asdf
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.asdf
|
||||
key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-asdf-
|
||||
- uses: asdf-vm/actions/install@v4
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
- run: task docs
|
||||
name: test-docs
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Cache asdf
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.asdf
|
||||
key: ${{ runner.os }}-asdf-${{ hashFiles('.tool-versions') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-asdf-
|
||||
- uses: asdf-vm/actions/install@v4
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -r requirements-dev.txt
|
||||
- run: task docs
|
Reference in New Issue
Block a user