forked from openedx-unsupported/devstack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Add checks for Makefile and docs (openedx-unsupported#1047)
Also remove duplicate target from `.PHONY` list.
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Assorted quality checks for PRs. | ||
|
||
name: Quality checks | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: | ||
- '**' | ||
|
||
jobs: | ||
|
||
run_ci: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
DEVSTACK_WORKSPACE: /tmp | ||
SHALLOW_CLONE: 1 | ||
strategy: | ||
matrix: | ||
python-version: | ||
- '3.8' | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: setup python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Test Makefile | ||
run: make selfcheck | ||
|
||
- name: Install Python dependencies | ||
run: make requirements | ||
|
||
- name: Test that docs build without errors | ||
run: make docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters