Skip to content

Update docs: Add Method Tables #12

Update docs: Add Method Tables

Update docs: Add Method Tables #12

Workflow file for this run

name: Run tests (Mac)
'on':
# Allows for manually starting tests
workflow_dispatch:
# Triggers when pull request is created
pull_request:
# See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
actions: write
checks: none
contents: read
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: read
statuses: none
# Cancel in-progress jobs/runs for the same workflow; if you push to same
# pull request twice, the previous workflow should be canceled.
# From: https://docs.github.com/en/actions/using-jobs/using-concurrency#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: mac-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-mac-py310:
# macOS 12 Monterey
# See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Show OS version
run: |
sw_vers -productVersion && \
system_profiler SPSoftwareDataType
- name: Show environment variables
run: printenv
- name: Show python version
run: python --version
- name: Show platform information
run: python -c "import platform; print(platform.platform())"
- name: install tox
run: |
python -m pip install -U pip wheel && \
python -m pip install tox~=4.6.0
- name: Run tests with tox
run: tox -e py310