Skip to content

Commit

Permalink
pdm in GA
Browse files Browse the repository at this point in the history
  • Loading branch information
joelb123 committed Nov 29, 2023
1 parent 5b6d657 commit 907bef6
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 162 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
with:
fetch-depth: 2

- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Install PDM
uses: pdm-project/setup-pdm@v3
run: pdm --version

- name: Check if there is a parent commit
id: check-parent-commit
Expand All @@ -41,18 +40,18 @@ jobs:
uses: salsify/action-detect-and-tag-new-version@v2
with:
version-command: |
bash -o pipefail -c "poetry version | awk '{ print \$2 }'"
bash -o pipefail -c "pdm show --version"
- name: Bump version for developmental release
if: "! steps.check-version.outputs.tag"
run: |
poetry version patch &&
version=$(poetry version | awk '{ print $2 }') &&
poetry version $version.dev.$(date +%s)
#poetry version patch &&
version=$(pdm show --version}') &&
#poetry version $version.dev.$(date +%s)
- name: Build package
run: |
poetry build --ansi
pdm build
- name: Publish package on PyPI
if: steps.check-version.outputs.tag
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ jobs:
with:
python-version: ${{ matrix.python }}

- name: Install Poetry
run: |
pipx install poetry
poetry --version
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
run: pdm --version

- name: Install Nox
run: |
Expand Down Expand Up @@ -100,8 +99,9 @@ jobs:
with:
python-version: "3.12"

- name: Install Poetry
run: pipx install poetry
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
run: pdm show --version

- name: Install Nox
run: |
Expand Down
83 changes: 1 addition & 82 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,88 +155,7 @@ dmypy.json
cython_debug/

# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# User-specific stuff
.idea/workspace.xml
.idea/tasks.xml
.idea/usage.statistics.xml
.idea/dictionaries
.idea/shelf

# AWS User-specific
.idea/aws.xml

# Generated files
.idea/contentModel.xml

# Sensitive or high-churn files
.idea/dataSources/
.idea/dataSources.ids
.idea/dataSources.local.xml
.idea/sqlDataSources.xml
.idea/dynamic.xml
.idea/uiDesigner.xml
.idea/dbnavigator.xml

# Gradle
.idea/gradle.xml
.idea/libraries

# Gradle and Maven with auto-import
# When using Gradle or Maven with auto-import, you should exclude module files,
# since they will be recreated, and may cause churn. Uncomment if using
# auto-import.
# .idea/artifacts
# .idea/compiler.xml
# .idea/jarRepositories.xml
# .idea/modules.xml
# .idea/*.iml
# .idea/modules
# *.iml
# *.ipr

# CMake
cmake-build-*/

# Mongo Explorer plugin
.idea/mongoSettings.xml

# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# SonarLint plugin
.idea/sonarlint/

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

# Editor-based Rest Client
.idea/httpRequests

# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
.idea/

# pytest-datadir-mgr directory
tests/data
Expand Down
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions .idea/flardl.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/other.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/ruff.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

0 comments on commit 907bef6

Please sign in to comment.