Skip to content

Commit

Permalink
fix: DevOps fixes onto main (#334)
Browse files Browse the repository at this point in the history
* Implemented trestle assemble with some UT

* Modified docs

* Code format

* Code lint

* Extending UT

* Full UT

* assemble bug fix

* fix 'make docs-serve' on linux (Red Hat 7.9)

Signed-off-by: Lou Degenaro <degenaro@us.ibm.com>

* Updated to deal with inherently plural model names.

Signed-off-by: Chris Butler <chris@thebutlers.me>

* fix: Fix merge main to back to develop automatically.(#332)

* Corrected errors in the build process.

Signed-off-by: Chris Butler <chris@thebutlers.me>

* Corrected errors in the build process.

Signed-off-by: Chris Butler <chris@thebutlers.me>

Co-authored-by: Nebula Alam <anebula@au1.ibm.com>
Co-authored-by: degenaro <degenaro@us.ibm.com>
  • Loading branch information
3 people authored Feb 2, 2021
1 parent 61fd907 commit 74df375
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ jobs:
run: |
mkdocs gh-deploy
merge-master-to-develop:
name: Merge master -> develop
merge-main-to-develop:
name: Merge main -> develop
runs-on: ubuntu-latest
needs: deploy
if: github.ref == 'refs/heads/main'
steps:
- uses: tukasz/direct-merge-action@master
with:
GITHUB_TOKEN: ${{ secrets.ADMIN_PAT }}
source-branch: master
source-branch: main
target-branch: develop
commit-message: "chore: Merge back version tags and changelog into develop."

3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.


develop:
python -m pip install -e .[dev] --upgrade --upgrade-strategy eager

Expand All @@ -37,6 +36,7 @@ code-typing:

test::
python -m pytest --cov trestle tests --cov-report=xml --exitfirst --random-order

test-verbose:
python -m pytest --cov trestle tests -v --cov-report=term-missing --cov-report=html:cov_html --exitfirst

Expand All @@ -55,5 +55,6 @@ docs-validate::
mkdocs build -c -s
rm -rf site


docs-serve: docs-automation
mkdocs serve

0 comments on commit 74df375

Please sign in to comment.