Skip to content

Commit

Permalink
update github actions, disable test action, bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Dec 22, 2023
1 parent daee99e commit 13cae3d
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: '3.11'
Expand Down
49 changes: 25 additions & 24 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,40 +12,41 @@ jobs:
prospector:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jpetrucciani/prospector-check@master
mypy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jpetrucciani/mypy-check@master
with:
mypy_flags: '--config-file pyproject.toml'
black:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jpetrucciani/black-check@master
with:
path: 'hubspot3/'
tests:
runs-on: ubuntu-22.04
needs: [mypy, prospector, black]
strategy:
matrix:
# '3.7', '3.8', '3.9', - need to figure out how to get around rate limiting
python-version: ['3.11']
name: python ${{ matrix.python-version }} tests
steps:
- uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: install requirements
run: |
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: run Tox
run: tox -e py
### TESTS ARE DISABLED SINCE I NO LONGER HAVE A VALID API KEY
# tests:
# runs-on: ubuntu-22.04
# needs: [mypy, prospector, black]
# strategy:
# matrix:
# # '3.7', '3.8', '3.9', - need to figure out how to get around rate limiting
# python-version: ['3.11']
# name: python ${{ matrix.python-version }} tests
# steps:
# - uses: actions/checkout@v4
# - name: setup python
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# architecture: x64
# - name: install requirements
# run: |
# pip install -r requirements.txt
# pip install -r requirements-dev.txt
# - name: run Tox
# run: tox -e py
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Jacobi Petrucciani
Copyright (c) 2023 Jacobi Petrucciani

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ jacobi ? import
(fetchTarball {
name = "jpetrucciani-2023-06-15";
url = "https://github.com/jpetrucciani/nix/archive/88e5beefe6fd625bba224bc3e97bf29d009b634f.tar.gz";
sha256 = "111vvzlckmiz1kfmxvyphlv6riss6690v3wkn89mmmym5n7148si";
name = "jpetrucciani-2023-12-22";
url = "https://github.com/jpetrucciani/nix/archive/6ffe4b6bda332269593a314d7d606d7c5ae02da5.tar.gz";
sha256 = "01ba1y8v8my7s85wf36mmin29rln1lq1idhj88f0yn8fk7qg752i";
})
{ }
}:
Expand Down
2 changes: 1 addition & 1 deletion hubspot3/globals.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
globals file for hubspot3
"""
__version__ = "3.2.53"
__version__ = "3.2.54"


BASE_URL = "https://api.hubapi.com"
Expand Down

0 comments on commit 13cae3d

Please sign in to comment.