/
niceSOFT
/
python3-wheel
Обзор
Документация
Войти
/
niceSOFT
/
python3-wheel
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.37.1
.github/workflows/codeqa-test.yml
52 строки
1 KB
Alex Grönholm
Updated branch name in GA test workflow
22 дек 2021, 15:19
22 дек 2021, 15:19
c716c87
Код
Авторство
О чём код?
name: Python codeqa/test on: push: branches: [main] pull_request: jobs: flake8: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Check code style with Flake8 uses: TrueBrain/actions-flake8@v2 with: path: src tests test: needs: [flake8] strategy: fail-fast: false matrix: os: [ubuntu-latest, macos-10.15, macos-11, windows-latest] python-version: ["2.7", "3.6", "3.9", "3.10", "pypy-2.7", "pypy-3.7"] exclude: - os: macos-11 python-version: pypy-2.7 - os: windows-latest python-version: "2.7" - os: windows-latest python-version: pypy-2.7 - os: windows-latest python-version: pypy-3.7 runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Upgrade setuptools run: pip install "setuptools >= 40.9" - name: Install the project run: "pip install --no-binary=:all: ." - name: Install test dependencies run: pip install .[test] - name: Test with pytest run: python -b -m pytest -W always --cov-report=xml:pytest-cov.xml - name: Send coverage data to Codecov uses: codecov/codecov-action@v1 with: file: pytest-cov.xml