fix: keep original security code in position key while normalizing fo… #229
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: Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened, closed] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| if: github.event_name != 'pull_request' || github.event.action != 'closed' || github.event.pull_request.merged == true | |
| runs-on: macos-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: eqlib-test | |
| - name: Install eqlib | |
| shell: bash -el {0} | |
| run: pip install -e ".[dev]" | |
| - name: Run tests | |
| shell: bash -el {0} | |
| run: pytest tests/ -v --tb=short |