Unverified Commit 678d8451 authored by Matti Picus's avatar Matti Picus Committed by GitHub
Browse files

Merge pull request #456 from cclauss/patch-3

GitHub Actions: Do we want an OS and Python build matrix?
parents 3ad86ae4 7993e436
......@@ -17,19 +17,30 @@ on:
jobs:
# This workflow contains a single job called "build"
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10"] # ["2.7", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"]
# The type of runner that the job will run on
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Runs a single command using the runner's Python
- name: Run a one-line script
run: echo Hello, world!
shell: python
run: print("Hello, world!")
# Runs a set of commands using the runners shell
# Runs a set of commands using the runner's shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment