Skip to content

Commit

Permalink
ci: add comments to the GitHub action code
Browse files Browse the repository at this point in the history
  • Loading branch information
WeisLeDocto committed May 2, 2024
1 parent ea269fa commit 81e9b13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test_python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Test Python Package

on:
# Runs on pull requests targeting the default branch
# Runs on pull requests targeting the default branches
pull_request:
types: [opened, edited, reopened, synchronize]
branches: ["master", "develop"]
Expand All @@ -20,18 +20,24 @@ jobs:
strategy:
fail-fast: false
matrix:
# Run on all the supported Python versions
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
# Run on all the supported platforms
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
# Checkout the repository
- name: Checkout
uses: actions/checkout@v4
# Set up the correct version of Python
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# Install the build dependencies
- name: Install dependencies
run: python -m pip install --upgrade pip wheel build setuptools
# Install the crappy Python module
- name: Install Crappy
run: python -m pip install .
- name: Import Crappy
Expand Down

0 comments on commit 81e9b13

Please sign in to comment.