Merge branch 'main' of https://github.com/daneisburgh/invaas #110
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: Integration | |
on: [push] | |
jobs: | |
integration: | |
name: Integration | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" # caching pip dependencies | |
cache-dependency-path: setup.py | |
- name: Install pip | |
run: python -m pip install --upgrade pip | |
- name: Install dependencies | |
run: pip install -e ".[dev]" | |
- name: Run format check | |
run: black --diff --color --check . | |
# - name: Run type check | |
# run: mypy --install-types --non-interactive . | |
- name: Create release | |
if: github.ref == 'refs/heads/main' | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: semantic-release version --changelog --commit --push --vcs-release --skip-build |