This commit is contained in:
Danny McCormick 2019-08-01 11:07:19 -04:00 committed by GitHub
parent 5dc682444b
commit 633a4406d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -15,8 +15,8 @@ steps:
- uses: actions/checkout@master - uses: actions/checkout@master
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
version: 3.x // Version range or exact version of a Python version to use, using semvers version range syntax. version: '3.x' // Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: x64 // (x64 or x86) architecture: 'x64' // (x64 or x86)
- run: python my_script.py - run: python my_script.py
``` ```
@ -24,9 +24,10 @@ Matrix Testing:
```yaml ```yaml
jobs: jobs:
build: build:
runs-on: ubuntu-16.04
strategy: strategy:
matrix: matrix:
python: [ 2.x, 3.x, pypy3 ] python: [ '2.x', '3.x', 'pypy3' ]
name: Python ${{ matrix.python }} sample name: Python ${{ matrix.python }} sample
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master