Test action to PDM #47
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: Zmanim Api Tests | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: '3.11' | |
- name: Install requirements | |
run: pdm install --with dev | |
- name: Run tests | |
run: | | |
pdm run tests | |
pdm run xml | |
- name: Codecov upload | |
run: bash <(curl -s https://codecov.io/bash) |