Skip to content
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: python src/odm_validation/tools/generate_assets.py
- 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