Modernize: replace boost::shared_ptr with std::shared_ptr in template… #327
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: build | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install flake8 pytest | |
| python3 -m pip install .[test] | |
| - name: Lint with flake8 | |
| run: | | |
| python3 -m flake8 | |
| - name: Test sorting with isort | |
| run: | | |
| python3 -m isort --verbose --check-only --diff chaste_codegen tests setup.py | |
| - name: Test with pytest | |
| run: | | |
| python3 -m pytest --cov --cov-config=.coveragerc | |
| - uses: codecov/codecov-action@v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos |