Bump actions/upload-artifact from 6 to 7 #260
This file contains hidden or 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: Testing build on macos-latest | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 12 * * 0' | |
| jobs: | |
| build: | |
| runs-on: macOS-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Set up requirements & configuration variables | |
| run: | | |
| brew update | |
| brew install cmake | |
| pip install --upgrade pip wheel build | |
| git submodule update --init --recursive | |
| 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-global-macos-latest-dist | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: libcasm-global-macos-latest-dist | |
| path: dist |