Skip to content

108 update is expected filetype defence function to check multiple extensions #167

108 update is expected filetype defence function to check multiple extensions

108 update is expected filetype defence function to check multiple extensions #167

Workflow file for this run

# This workflow will install OS dependencies and run a 'base' set of unit tests with Python 3.9
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Unit tests on macOS/Linux/Windows
on:
push:
pull_request:
branches: [ "dev", "main" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
os: ["macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Integration Tests # run only those tests marked runinteg & with no osmosis deps
run: |
pytest -m runinteg --runinteg --deselect tests/osm/
- name: Test with pytest # run only tests with no osmosis deps
run: |
pytest --deselect tests/osm/