This repository has been archived by the owner on Oct 13, 2024. It is now read-only.
Bump docker/login-action from 2 to 3 #707
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: Python Tests | |
on: | |
pull_request: | |
branches: [master, nightly] | |
types: [opened, synchronize, reopened] | |
jobs: | |
pytest: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2019, ubuntu-20.04, macos-11] | |
architecture: [x64] | |
include: # additional runs | |
- os: windows-2019 | |
architecture: x86 | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 # https://github.com/actions/setup-python | |
with: | |
python-version: '3.9' | |
architecture: ${{ matrix.architecture }} | |
- name: Install python dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
python -m pip install -r requirements-dev.txt | |
- name: Compile Locale Translations | |
run: | | |
python ./scripts/_locale.py --compile | |
- name: Compile Docs | |
run: | | |
cd docs | |
make html | |
- name: Test with pytest | |
run: | | |
python -m pytest -v |