fix ID in file names #317
Workflow file for this run
This file contains 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: Python CI | |
# trigger | |
on: [push, pull_request] | |
jobs: | |
base: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Prepare python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run tests from editable install | |
run: | | |
cd src/python | |
pip install --upgrade pip | |
pip install -e . | |
pip install pytest | |
pytest test | |
- name: Run tests from sdist install | |
run: | | |
cd src/python | |
./build.sh | |
pip install pytest | |
pytest test | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10'] | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Prepare python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run pre-commit hooks | |
run: | | |
pip install pre-commit | |
pre-commit run --all-files |