Skip to content

Commit

Permalink
publish in py3.10 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe authored Oct 10, 2023
1 parent 0b3ac44 commit 802ad67
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Setup Node.js
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install appium and adb
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
run: |
npm install appium android-tools-bin &&
cp ./node_modules/android-tools-bin/dist/linux/x86/adb ./node_modules/.bin/adb &&
Expand All @@ -46,7 +46,7 @@ jobs:
run: make setup

- name: Run Unit tests
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
run: |
export PATH="$PATH:./node_modules/.bin" && make test
Expand All @@ -56,15 +56,15 @@ jobs:
make test
- name: Coveralls
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
uses: AndreMiras/coveralls-python-action@develop

- name: make packages
if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
run: make package

- name: publish
if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
if: github.event_name == 'release' && matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10'
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
Expand Down

0 comments on commit 802ad67

Please sign in to comment.