This repository has been archived by the owner on Sep 16, 2023. It is now read-only.
Bump pytest from 7.1.1 to 7.3.2 #180
Workflow file for this run
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: code_static_analysis_and_os_compatibility_tests | |
# See https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners | |
# See https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md | |
# See https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md | |
# See https://github.com/actions/virtual-environments/blob/main/images/macos/macos-10.15-Readme.md | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macos-latest ] | |
python-version: [ '3.7', '3.8' ] | |
name: Test with Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install dependencies for Python ${{ matrix.python-version }} on ${{ matrix.os }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run complete audit suites with Python ${{ matrix.python-version }} on ${{ matrix.os }} (Linux OS only) | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: | | |
chmod +x ci/code_static_analysis.sh | |
bash ci/code_static_analysis.sh | |
- name: Run unit tests suites with Python ${{ matrix.python-version }} on ${{ matrix.os }} (All OS except Linux) | |
if: ${{ matrix.os != 'ubuntu-latest' }} | |
run: | | |
pytest |