prep release 0.23.0 #23
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: pyoes | |
on: [push, pull_request] | |
env: | |
PYTHON_VERSION: "3.11" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
env: | |
HATCH_BUILD_NO_HOOKS: true | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install pip-tools | |
pip-sync requirements-ci.txt | |
pip install -e . | |
- name: Run checks and tests | |
working-directory: ./ | |
run: | | |
./check_versions.sh | |
source venv/bin/activate | |
py.test --cov pyoes --cov-report term-missing | |
- name: Upload coverage to Coveralls | |
working-directory: ./ | |
run: | | |
source venv/bin/activate | |
coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |