From 3b43212c92b298dc6056d6daaa2e2460910a1dcf Mon Sep 17 00:00:00 2001 From: matthewtrotter Date: Sun, 28 Apr 2024 14:30:42 -0500 Subject: [PATCH] badge --- .github/workflows/python-lib.yaml | 15 +++++---------- readme.md | 2 ++ 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/python-lib.yaml b/.github/workflows/python-lib.yaml index 49eb763..31b7ebb 100644 --- a/.github/workflows/python-lib.yaml +++ b/.github/workflows/python-lib.yaml @@ -1,22 +1,17 @@ -name: Python Library Test and Publish +name: Python package on: push: branches: - main -permissions: - contents: write - deployments: write - packages: write - statuses: write - jobs: - test_and_tag: + test: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7.17', '3.8.18', '3.9.19', '3.10.14', '3.11.9', '3.12.3'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + # python-version: ['3.7.17', '3.8.18', '3.9.19', '3.10.14', '3.11.9', '3.12.3'] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -26,7 +21,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build pytest wheel + pip install build pytest wheel distutils if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: pytest test.py diff --git a/readme.md b/readme.md index 7bf620b..6941409 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,8 @@ Asset Universe ============== +![Python 3.7](https://github.com/matthewtrotter/assetuniverse/workflows/Python%20package/badge.svg) + The asset universe downloads historical daily prices and returns of user-specified stocks, futures, and currencies. It downloads historical data from the following sources: - [Interactive Brokers Trader Workstation](https://www.interactivebrokers.com/en/trading/tws.php)