Skip to content

fix test build

fix test build #40

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['pypy-2.7', '3.9', '3.10', '3.11']
exclude:
- os: macos-latest
python-version: 'pypy-2.7'
- os: windows-latest
python-version: 'pypy-2.7'
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install wheel
- name: Install
shell: bash
run: |
SCANDIR_REQUIRE_C_EXTENSION=1 python -m pip -v install .
- name: Run tests
run: |
python test/run_tests.py
build27:
runs-on: ubuntu-latest
container:
image: python:2.7.18-buster
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
python -m pip install wheel
- name: Install
run: |
SCANDIR_REQUIRE_C_EXTENSION=1 python -m pip -v install .
- name: Run tests
run: |
python test/run_tests.py