Refactor world_map from_world_number #962
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: Tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- uses: pre-commit/[email protected] | |
test: | |
needs: linting | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [windows-latest] | |
python-version: ["3.11"] | |
defaults: | |
run: | |
shell: bash | |
runs-on: ${{ matrix.os }} | |
steps: | |
# Check out the repo and set up python | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' # cache dependencies | |
- run: pip install -r requirements-dev.txt | |
# Run test suite | |
- name: Run tests | |
run: python -m pytest tests/ --verbose --failed-first |