Fix path issue with conditional files on Windows #9
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: test | |
on: [pull_request, push] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
# latest stable version of Python | |
python-version: "3.x" | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: Install | |
run: | | |
pip install -U pip | |
pip install -e . | |
pip list | |
- name: Run tests | |
run: pytest -v |