Skip to content

Commit

Permalink
Testing github action to upload package to Pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Garza committed May 21, 2020
1 parent 9a2fa6c commit edbf362
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ "master" ]
branches: [ "test_github_action" ]
pull_request:
branches: [ "master" ]
branches: [ "test_github_action" ]



Expand Down Expand Up @@ -78,3 +78,10 @@ jobs:
ODBCSYSINI: "${{ github.workspace }}/odbcconfig"
TESTDB: "exa+${{ matrix.connector }}://sys:exasol@localhost:8888/TEST?CONNECTIONLCALL=en_US.UTF-8&DRIVER=EXAODBC"

- name: Push package to Test Pypi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
repository_url: https://test.pypi.org/legacy/

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ SQLAlchemy==1.3.16 # rq.filter: >=1.3.0,<2
pyodbc==4.0.30 # rq.filter: >=4,<5
# note: pyodbc 4.0.22 has an open issue that can lead to TypeConversion errors: https://github.com/mkleehammer/pyodbc/issues/341 Do not upgrade until this is fixed.
six==1.14.0
wheel

0 comments on commit edbf362

Please sign in to comment.