Misc type system fixes and refactoring #579
Workflow file for this run
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
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Workflow | |
on: | |
pull_request: | |
branches: [ main, develop ] | |
push: | |
branches: [ main, develop ] | |
jobs: | |
lint-black: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: psf/black@stable | |
lint-ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: chartboost/ruff-action@v1 | |
test: | |
runs-on: ubuntu-latest | |
env: | |
PYTHONHASHSEED: 1 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Update Pip | |
run: | | |
pip install --upgrade pip wheel | |
- name: Install Phantom dependencies | |
run: | | |
make install-deps | |
make install-dev-deps | |
- name: Install Phantom | |
run: | | |
make install | |
- name: Run Phantom tests | |
run: | | |
make test | |
build-docs-phantom: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Update Pip | |
run: | | |
pip install --upgrade pip wheel | |
- name: Install Phantom dependencies | |
run: | | |
make install-deps | |
make install-dev-deps | |
- name: Install Phantom | |
run: | | |
make install | |
- name: Build Phantom docs | |
run: | | |
make build-docs |