Skip to content

fix: bug in ifc rendering with openings and cleanup #679

fix: bug in ifc rendering with openings and cleanup

fix: bug in ifc rendering with openings and cleanup #679

Workflow file for this run

name: ci-ada-fem
on:
push:
paths:
- src/**
- tests/fem/**
- .github/workflows/ci-FEM.yml
- images/femtests.Dockerfile
branches:
- main
pull_request:
paths-ignore:
- setup.py
branches:
- main
concurrency:
group: ci-ada-fem-${{ github.ref }}
cancel-in-progress: true
jobs:
activate:
if: |
github.repository == 'krande/adapy' &&
!contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- run: echo ok go
test-FEM:
name: Test-FEM-analysis
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- name: Set DATE env var
run: echo "DATE=$(echo $(date +'%y%m%d'))" >> $GITHUB_ENV
- uses: mamba-org/setup-micromamba@v2 # https://github.com/mamba-org/setup-micromamba
with:
environment-name: fem-env
condarc: |
channels:
- conda-forge
create-args: >-
python=3.12
ada-py
code-aster
paradoc
python-dotenv
pytest
- name: install latest ada-py
run: |
pip install .
- name: Create Verification Report
run: |
python build_verification_report.py true true --export-format=docx
working-directory: tests/fem
- uses: actions/upload-artifact@v4
if: failure()
with:
name: ADA-FEA-res-debug
path: tests/fem/temp
- name: Upload Zip file to release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: tests/fem/temp/_dist/ADA-FEA-verification.docx
asset_name: ADA-FEA-verification-${{ env.DATE }}.docx
tag: "ADA-FEA-Verification-Report-${{ env.DATE }}"
overwrite: true
body: "Verification Report for ADAPY - ${{ env.DATE }}"