Upgrade release pipeline. #77
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 Windows | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
jobs: | |
build: | |
runs-on: windows-2019 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.8', '3.9', '3.10'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: prerequisites | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 pytest pytest-asyncio mock flake8 pyyaml codecov pytest-cov | |
- name: lint | |
run: | | |
flake8 src/faber tests | |
- name: test | |
shell: cmd | |
run: | | |
set PYTHONPATH=%cd%\\src | |
python -m faber.cli --info=tools cxx | |
pytest --cov=./src --compiler=native -vs | |
- name: coverage | |
run: | | |
codecov |