Mercurial > public > python-black-scholes
comparison .github/workflows/python-publish.yml @ 5:94bf1c757908
remove python 2.x
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 16 Nov 2021 17:50:50 +0100 |
parents | 2d78ef7a90e6 |
children |
comparison
equal
deleted
inserted
replaced
4:ccffaf75d240 | 5:94bf1c757908 |
---|---|
4 push: | 4 push: |
5 tags: [ '*.*.*' ] | 5 tags: [ '*.*.*' ] |
6 | 6 |
7 jobs: | 7 jobs: |
8 deploy: | 8 deploy: |
9 | |
10 runs-on: ubuntu-latest | 9 runs-on: ubuntu-latest |
11 strategy: | |
12 fail-fast: false | |
13 matrix: | |
14 python-version: [ "2.x", "3.x" ] | |
15 | |
16 steps: | 10 steps: |
17 - uses: actions/checkout@v2 | 11 - uses: actions/checkout@v2 |
18 - name: Set up Python | 12 - name: Set up Python |
19 uses: actions/setup-python@v2 | 13 uses: actions/setup-python@v2 |
20 with: | 14 with: |
21 python-version: ${{ matrix.python-version }} | 15 python-version: '3.x' |
22 - name: Install dependencies | 16 - name: Install dependencies |
23 run: | | 17 run: | |
24 python -m pip install --upgrade pip | 18 python -m pip install --upgrade pip |
25 pip install build | 19 pip install build |
26 python -m pip install flake8 | 20 python -m pip install flake8 |