Skip to content

Commit

Permalink
prepares release
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Jan 4, 2024
1 parent 11a0e04 commit 749766c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Build

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

env:
GHACTIONS: ACTIVE
Expand All @@ -18,23 +18,24 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
#os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest]
python-version: [3.9, '3.10','3.11']
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.9, '3.10'] #3.11? # 3.12 doesn't work because oaf aio.http as of 2023-11-05

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx
pip install sphinx_rtd_theme
- name: install
run: |
scripts/install
scripts/doc
- name: Run tests
run: |
scripts/installAndTest
scripts/test
8 changes: 4 additions & 4 deletions .github/workflows/upload-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
Expand All @@ -22,6 +25,3 @@ jobs:
hatch build
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit 749766c

Please sign in to comment.