Skip to content

add ci for testing asset gen #13

add ci for testing asset gen

add ci for testing asset gen #13

name: Test generated assets
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
name: test-gen-assets
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
- run: pip install -r requirements.txt
- run: pip install .
- run: python src/odm_validation/tools/generate_assets.py
- run: test -z "$(git status --porcelain)"
# - run: .github/workflows/j
# - uses: actions/assert-command-line-output
# with:
# command_line: [ -z "$(git status --porcelain)" ]
# command_line: [ -z "$(git status --porcelain)" ]
# expected_result: PASSED
# - run: [ -z ]
# - uses: actions/assert-command-line-output
# with:
# command_line: |
# git status --porcelain > actual.txt
# touch expected.txt
# assert_file_path: expected.txt
# expected_result: PASSED