Skip to content

Commit

Permalink
Publier avec GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Mar 8, 2024
1 parent 7660b77 commit bf2c9d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 18 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/ic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ concurrency:
jobs:
tests:
uses: ./.github/workflows/tests.yml
# pypi:
# permissions:
# contents: write # Allows this job to create releases
# with:
# dry-run: ${{ github.ref_name == 'master' }}
# needs: [ tests ]
# uses: ./.github/workflows/pypi.yml
pypi:
permissions:
contents: read
id-token: write # Allows this job to create releases
with:
dry-run: ${{ github.ref_name == 'master' }}
needs: [ tests ]
uses: ./.github/workflows/pypi.yml
12 changes: 3 additions & 9 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,14 @@ jobs:
permissions:
contents: write # Allows this job to create releases

runs-on: ${{ matrix.os }}

strategy:
matrix:
python-version: ["3.11"]
os: [macos-latest]
fail-fast: false
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Installer Python ${{ matrix.python-version }}
- name: Installer Python 3.11
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11

- name: Préparation de Node.js
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ requires-python = ">=3.10,<4.0"
readme = "README.md"
license = {text = "AGPL-3.0"}

[tool.pdm]
package-type = "library"

[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
dev = [
"coverage<8.0.0,>=7.2.7",
Expand Down

0 comments on commit bf2c9d3

Please sign in to comment.