-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into new_data_models
- Loading branch information
Showing
5 changed files
with
35 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,44 +45,10 @@ jobs: | |
- name: 🧪 Test Code Units | ||
run: pipenv run pytest | ||
|
||
sync: | ||
runs-on: ubuntu-latest | ||
needs: [test] | ||
steps: | ||
- name: 🛫 Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🐍 Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
|
||
- name: 🛠 Install Dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
# pipenv-setup requires downgraded vistir: https://github.com/Madoshakalaka/pipenv-setup/issues/138 | ||
python -m pip install pipenv-setup[black]==3.2.0 vistir==0.6.1 | ||
- name: ⚙️ Configure Git | ||
run: | | ||
git config --local user.name cfl-bot | ||
git config --local user.email [email protected] | ||
- name: 🔄 Sync Setup Dependencies | ||
run: | | ||
pipenv-setup sync | ||
git add setup.py | ||
# Only commit and push if there are differences. | ||
if ! git diff --staged --quiet; then | ||
git commit -m "ci[setup]: sync dependencies [skip ci]" | ||
git push | ||
fi | ||
release: | ||
concurrency: release | ||
runs-on: ubuntu-latest | ||
needs: [sync] | ||
needs: [test] | ||
if: github.ref_name == 'main' | ||
steps: | ||
- name: 🛫 Checkout | ||
|
@@ -91,9 +57,6 @@ jobs: | |
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: 🔄 Sync Setup Dependencies | ||
run: git pull | ||
|
||
- name: 🐍 Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Do NOT set manually! | ||
# This is auto-updated by python-semantic-release in the pipeline. | ||
__version__ = "0.9.2" | ||
__version__ = "0.9.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters