Skip to content
This repository was archived by the owner on Aug 1, 2024. It is now read-only.

Commit c5aa69e

Browse files
authored
build: Add checks for Makefile and docs (#1047)
Also remove duplicate target from `.PHONY` list.
1 parent 3ba99fd commit c5aa69e

2 files changed

Lines changed: 40 additions & 1 deletion

File tree

.github/workflows/quality.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Assorted quality checks for PRs.
2+
3+
name: Quality checks
4+
5+
on:
6+
push:
7+
branches: [master]
8+
pull_request:
9+
branches:
10+
- '**'
11+
12+
jobs:
13+
14+
run_ci:
15+
runs-on: ubuntu-20.04
16+
env:
17+
DEVSTACK_WORKSPACE: /tmp
18+
SHALLOW_CLONE: 1
19+
strategy:
20+
matrix:
21+
python-version:
22+
- '3.8'
23+
fail-fast: false
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: setup python
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
32+
- name: Test Makefile
33+
run: make selfcheck
34+
35+
- name: Install Python dependencies
36+
run: make requirements
37+
38+
- name: Test that docs build without errors
39+
run: make docs

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
dev.up.with-watchers dev.validate docs e2e-tests e2e-tests.with-shell \
6060
help requirements impl-dev.clone.https impl-dev.clone.ssh impl-dev.provision \
6161
impl-dev.pull impl-dev.pull.without-deps impl-dev.up impl-dev.up.attach \
62-
impl-dev.up.without-deps selfcheck upgrade upgrade \
62+
impl-dev.up.without-deps selfcheck upgrade \
6363
validate-lms-volume vnc-passwords
6464

6565
# Load up options (configurable through options.local.mk).

0 commit comments

Comments
 (0)