Skip to content

Added new download url for iso currencies list #26

Added new download url for iso currencies list

Added new download url for iso currencies list #26

Workflow file for this run

name: main
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip3 install flake8 wheel
- run: python3 setup.py sdist bdist_wheel
- run: flake8 .
- uses: actions/upload-artifact@v2
with:
name: dist
path: dist
test:
needs: [build]
strategy:
matrix:
python-version:
- 3.10.1
- 3.9.9
- 3.8.12
- 3.7.12
- 3.6.15
- 2.7.18
- pypy-3.8
- pypy-2.7
fail-fast: false
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: actions/download-artifact@v2
with:
name: dist
path: dist
- run: pip install dist/iso4217-*.whl
- run: |
set -e
pushd /tmp
python -m iso4217.test
popd
fakeinv:
if: "github.event_name == 'push'"
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: dist
path: dist
- run: pip3 install dist/iso4217-*.whl sphinx-fakeinv
- run: mkdir -p /tmp/fakeinv/
- run: sphinx-fakeinv iso4217 > /tmp/fakeinv/objects.inv
- run: touch /tmp/fakeinv/.nojekyll
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: /tmp/fakeinv
force_orphan: true