Bump npalm/action-docs-action from 2.0.0 to 3.0.0 #48
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: Run Python tests | |
on: push | |
jobs: | |
test: | |
name: Run tests (setup-python) | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install pytest pytest-md pytest-emoji | |
- uses: ./. | |
quotes: | |
name: Test quotes | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
pip install pytest pytest-md pytest-emoji | |
- uses: ./. | |
with: | |
custom-arguments: -k "not failed" | |
test-micromamba: | |
name: Run tests (setup-micromamba) | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up micromamba environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-name: myenv | |
cache-environment: true | |
create-args: >- | |
python | |
pytest | |
pytest-md | |
pytest-emoji | |
- uses: ./. |