enhance and test pre cice configuration formatter #123
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 Porting to v3 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows manual triggering of the workflow | |
workflow_dispatch: | |
jobs: | |
test-porting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pytest | |
pip install build | |
pip install -e . | |
- name: Generate preCICE Configuration | |
run: | | |
python FileGenerator.py | |
- name: Run Porting to v3 Tests | |
run: | | |
python -m pytest tests/test_porting_to_v3.py -s | |
- name: Run Porting of 8 examples | |
run: | | |
python -m pytest tests/generation-tests/test_generation.py -s |