attempt fix filter_sort_top_bottom CI test failures, fix filter_sort_… #89
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 & Deploy Numerai Tools | |
on: | |
workflow_dispatch: | |
push: | |
concurrency: deploy-numerai-tools-${{ github.ref }} | |
jobs: | |
test-and-deploy-numerai-tools: | |
name: Test & Deploy Numerai Tools | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11.7" | |
- name: Test | |
id: test | |
run: | | |
pip install . | |
python -m unittest discover tests/ | |
- name: Deploy | |
id: deploy | |
if: github.ref == 'refs/heads/master' | |
run: | | |
pip install twine wheel | |
python setup.py sdist bdist_wheel | |
python -m twine upload -u __token__ -p ${{ secrets.PYPI_API_KEY }} --skip-existing dist/* |