We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2b2ea commit f090cecCopy full SHA for f090cec
.github/workflows/python-ci.yml
@@ -0,0 +1,28 @@
1
+name: Python CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
+ runs-on: ${{ matrix.os }}
8
+ strategy:
9
+ matrix:
10
+ os: [ubuntu-latest, macos-latest, windows-latest]
11
+ python-version: [3.6, 3.7, 3.8, 3.9]
12
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ - name: Set up Python ${{ matrix.python-version }}
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: ${{ matrix.python-version }}
19
+ - name: Display Python version & architecture
20
+ run: |
21
+ python -c "import sys; print(sys.version)"
22
+ python -c "import struct; print(struct.calcsize('P') * 8)"
23
+ - name: Install dependencies
24
25
+ python -m pip install --upgrade pip
26
+ pip install tox tox-gh-actions
27
+ - name: Test with tox
28
+ run: tox
0 commit comments