Skip to content

Merge pull request #14 from bpuchala/2.X_fix_make_mapped_structure #23

Merge pull request #14 from bpuchala/2.X_fix_make_mapped_structure

Merge pull request #14 from bpuchala/2.X_fix_make_mapped_structure #23

name: Testing build on macos-latest
on: [push, pull_request]
jobs:
build:
runs-on: macOS-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Set up requirements & configuration variables
run: |
brew update
brew install cmake
pip install --upgrade pip wheel build
pip install -r test_requirements.txt
- name: make
shell: bash
run: |
python -m build
- name: install
shell: bash
run: |
pip install dist/*.whl
- name: make test
shell: bash
run: |
python -m pytest -rsap python/tests
- name: upload libcasm-mapping-macos-latest-x86_64-dist
if: always()
uses: actions/upload-artifact@v3
with:
name: libcasm-mapping-macos-latest-x86_64-dist
path: dist