Skip to content

Commit

Permalink
add setup.py (#307)
Browse files Browse the repository at this point in the history
* add setup.py

* add ci for 3.6

* use 'pip install' for python 3.6

* update

* update

* update

* Update run_test.yaml

* update

* remove lint

* update

* remove pip install dot

* remove coverage for py36

* remove python36

* add py36 wheel pip support

---------

Co-authored-by: Wey Gu <[email protected]>
  • Loading branch information
Nicole00 and wey-gu authored Jan 9, 2024
1 parent b63cd38 commit 3be007f
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 84 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,30 @@ on:
- cron: "0 6 * * *"

jobs:
ci-pip-install:
runs-on: ubuntu-20.04
strategy:
max-parallel: 1
matrix:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python setup.py install
pip install pip-tools pytest
- name: Test with pytest==6.2.5
run: |
docker-compose -f docker-compose.yaml up -d
sleep 20
pytest -s -v -k "not SSL"
working-directory: tests


ci:
runs-on: ubuntu-22.04
strategy:
Expand Down
126 changes: 43 additions & 83 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 3be007f

Please sign in to comment.