moving to pdm from poetry and updating token stuff #104
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: Tests | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-18.04 | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Install python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Poetry Action | |
uses: snok/install-poetry@v1.1.6 | |
- name: Install dependencies | |
run: | | |
poetry install | |
poetry -V | |
poetry run pytest -V | |
- name: Run the tests | |
run: | | |
poetry run task test | |
poetry run coveralls --service=github | |
env: | |
KRYPTO_TOKEN: ${{ secrets.KRYPTO_TOKEN }} | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |