configure CI #1
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: version auto-incrementing & package publishing | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out v3 | |
uses: actions/checkout@v3 | |
- name: Install Python and dependencies | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
python -m | |
pip install sortedcontainers | |
- name: Run tests | |
run: | | |
coverage run test/test.py | |
coverage report -m sigfig/sigfig.py |