💥 adjust the structure #25
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 & Track | |
on: push | |
jobs: | |
test: | |
strategy: | |
matrix: | |
py_ver: ['3.8', '3.9', '3.10'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v3 | |
name: Ensure Python Runtime | |
with: | |
python-version: ${{matrix.py_ver}} | |
architecture: 'x64' | |
- name: Ensure PDM & twine | |
run: | | |
python3 -m pip install pdm | |
- name: Install Package | |
run: | | |
pdm install | |
- name: Test & Report | |
run: | | |
pdm run test | |
- uses: codecov/[email protected] | |
with: | |
files: ./coverage.xml |