Merge pull request #13 from dnedrow/urllib-header-fix #22
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: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
submodules: "recursive" | |
- name: Install Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.7" | |
- name: Install and configure Poetry | |
uses: snok/[email protected] | |
- name: Build and test | |
run: make install test | |
- name: Dry run deploy | |
run: make version | |
env: | |
POETRY_EXTRA_ARGS: --dry-run | |
PYPI_USER: ${{ secrets.PYPI_USER }} | |
PYPI_PASS: ${{ secrets.PYPI_PASS }} |