mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-15 16:40:05 +01:00
installing libgraphviz-dev
This commit is contained in:
20
.github/workflows/test-n-publish.yml
vendored
20
.github/workflows/test-n-publish.yml
vendored
@@ -3,11 +3,11 @@ name: test-n-publish
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test-n-publish:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.5, 3.6, 3.7, 3.8]
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install codecov requests
|
||||
python -m pip install bs4
|
||||
sudo apt-get install graphviz
|
||||
sudo apt-get -y install graphviz libgraphviz-dev pkg-config
|
||||
python -m pip install pygraphviz
|
||||
python -m pip install kerncraft
|
||||
python -m pip install -e .
|
||||
@@ -31,8 +31,20 @@ jobs:
|
||||
- name: Build package
|
||||
run: |
|
||||
python setup.py build sdist
|
||||
|
||||
publish:
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
needs: jobs
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
name: Set up Python ${{ matrix.python-version }}
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Build package
|
||||
run: |
|
||||
python setup.py build sdist
|
||||
- name: Publish to PyPI
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
skip_existing: true
|
||||
|
||||
Reference in New Issue
Block a user