Merge pull request #62 from schubergphilis/dependabot/pip/idna-3.7 #221
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
name: build | |
on: | |
push: | |
branches: [ 'main' ] | |
tags: [ '*' ] | |
pull_request: | |
branches: [ 'main' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9.15 | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Lint | |
run: _CI/scripts/lint.py | |
- name: Test | |
run: _CI/scripts/test.py | |
- name: Build | |
run: _CI/scripts/build.py | |
release: | |
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: release | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9.15 | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Upload | |
run: _CI/scripts/upload.py | |
env: | |
PYPI_UPLOAD_USERNAME: ${{ secrets.PYPI_UPLOAD_USERNAME }} | |
PYPI_UPLOAD_PASSWORD: ${{ secrets.PYPI_UPLOAD_PASSWORD }} |