cleanup application #318
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
name: Python application | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- if: ${{ matrix.os == 'macos-latest' }} | |
name: Install graphviz (macos) | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | |
brew install graphviz | |
- if: ${{ matrix.os == 'ubuntu-latest' }} | |
name: Install graphviz (ubuntu) | |
run: | | |
sudo apt-get install graphviz graphviz-dev | |
- name: Install dependencies | |
run: | | |
python -m pip install pip==22.0.4 | |
pip install -r requirements-dev.txt | |
pip install -e . | |
# - name: Test with pytest | |
# run: | | |
# pytest |