MNT: do not use deprecated load_module method #140
Workflow file for this run
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: FreeBSD | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| - '**/*.rst' | |
| - '**/*.md' | |
| branches: | |
| - master | |
| - '[0-9].[0-9]' | |
| pull_request: | |
| branches: | |
| - master | |
| - '[0-9].[0-9]' | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| run-tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| env: | |
| ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
| name: Python ${{ matrix.python-version }} FreeBSD | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: build and test | |
| uses: vmactions/freebsd-vm@v1 | |
| with: | |
| envs: 'ACTIONS_ALLOW_UNSECURE_COMMANDS' | |
| usesh: true | |
| sync: rsync | |
| copyback: false | |
| prepare: pkg install -y bash curl python311 | |
| run: | | |
| curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
| python3.11 get-pip.py | |
| /usr/local/bin/pip install -U pip setuptools wheel | |
| sed '5,6d' dev_requirements.txt > dev_requirements_without_memray.txt | |
| /usr/local/bin/pip install -r dev_requirements_without_memray.txt | |
| /usr/local/bin/python3.11 setup.py build_ext --inplace | |
| /usr/local/bin/python3.11 -m pytest | |
| /usr/local/bin/python3.11 setup.py bdist_wheel |