Skip to content

feat(rules): add MultiplicativeInverse rule #91

feat(rules): add MultiplicativeInverse rule

feat(rules): add MultiplicativeInverse rule #91

Workflow file for this run

name: Build
on:
schedule:
# Every Monday at 1PM UTC (9AM EST)
- cron: "0 13 * * 1"
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: [3.7, 3.8, 3.9, 3.10.6, 3.11]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Setup Packages
run: sh tools/setup.sh
- name: Build Packages
run: sh tools/build.sh
- name: Test Packages
run: sh tools/test_all.sh
- name: Update API Docs
run: sh tools/docs.sh
- name: Report Code Coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: sh tools/codecov.sh
deploy:
runs-on: ubuntu-latest
needs: "build"
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Setup Packages
run: sh tools/setup.sh
- name: Build Packages
run: sh tools/build.sh
- name: Semantic Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: sh tools/semantic-release.sh
- name: Deploy to PyPi
env:
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: sh tools/deploy.sh