New blog post "Advent of Low-code" #93
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
name: Test rule-keeper and check post validity and tags recommendations | |
on: | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Fetch history of master branch | |
run: git fetch origin master:master --depth=1 | |
- name: Build docker image | |
run: docker build ./rule-keeper/ -t rule-keeper | |
- name: Test Rule Keeper | |
run: docker run -v ./rule-keeper:/usr/src/app:ro rule-keeper python -m unittest | |
- name: Test content | |
run: docker run -v .:/usr/src/app:ro rule-keeper python rule-keeper/main.py |