diff options
Diffstat (limited to '.github/workflows/python-package.yaml')
-rw-r--r-- | .github/workflows/python-package.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml new file mode 100644 index 0000000..12ba6fd --- /dev/null +++ b/.github/workflows/python-package.yaml @@ -0,0 +1,39 @@ +name: CI/CD Pipeline + +on: + - push + - pull_request + +jobs: + test: + name: Test Python ${{ matrix.python-version }} on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + os: + - ubuntu-latest + - macos-latest + - windows-latest + python-version: + - 3.6 + - 3.7 + - 3.8 + - 3.9 + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} + + - name: Run linter + run: | + make lint + + - name: Run tests + run: | + make test |