feat: refactor code_owner code from edx-dajango-utils #366
Workflow file for this run
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: Test Publish | |
on: | |
pull_request: | |
jobs: | |
testing: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
architecture: x64 | |
- name: Install pip | |
run: pip install -r requirements/pip.txt | |
- name: Build package | |
run: python setup.py sdist bdist_wheel | |
- name: Test publish | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_TEST_UPLOAD_TOKEN }} | |
repository_url: https://test.pypi.org/legacy/ | |
skip_existing: true | |