[github action] pypi publisher #106
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 Flow | |
on: [pull_request, push, workflow_dispatch] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
py: [3.8] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.py }} | |
- name: run tests | |
run: | | |
pip install -Uqq pip | |
pip install -Uqq metaflow ipykernel==6.4.1 | |
pip install -Uqq . | |
python3 -m ipykernel install --user --name python3 | |
chmod u+x tests/test.sh | |
make test |