Skip to content

Commit cd689f4

Browse files
wrong place for workflows
1 parent 2c80ad0 commit cd689f4

File tree

2 files changed

+14
-95
lines changed

2 files changed

+14
-95
lines changed

.github/workflows/test_and_deploy.yml

100644100755
Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ jobs:
2020
runs-on: ${{ matrix.platform }}
2121
strategy:
2222
matrix:
23-
platform: [ubuntu-latest, windows-latest, macos-latest]
23+
platform: [ubuntu-latest]
24+
#, windows-latest, macos-latest]
2425
python-version: [3.8, 3.9, "3.10"]
2526

2627
steps:
@@ -40,7 +41,18 @@ jobs:
4041
sudo apt-get install -y libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 \
4142
libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 \
4243
libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0 pkg-config libhdf5-103 libhdf5-dev \
43-
libegl1
44+
libegl1 libgl1
45+
sudo apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
46+
# strategy borrowed from vispy for installing opengl libs on windows
47+
- name: Install Windows OpenGL
48+
if: runner.os == 'Windows'
49+
run: |
50+
git clone --depth 1 git://github.com/pyvista/gl-ci-helpers.git
51+
powershell gl-ci-helpers/appveyor/install_opengl.ps1
52+
# note: if you need dependencies from conda, considering using
53+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
54+
# and
55+
# tox-conda: https://github.com/tox-dev/tox-conda
4456
- name: Install dependencies
4557
run: |
4658
python -m pip install --upgrade pip
@@ -53,29 +65,3 @@ jobs:
5365

5466
- name: Coverage
5567
uses: codecov/codecov-action@v1
56-
57-
deploy:
58-
# this will run when you have tagged a commit, starting with "v*"
59-
# and requires that you have put your twine API key in your
60-
# github secrets (see readme for details)
61-
needs: [test]
62-
runs-on: ubuntu-latest
63-
if: contains(github.ref, 'tags')
64-
steps:
65-
- uses: actions/checkout@v2
66-
- name: Set up Python
67-
uses: actions/setup-python@v2
68-
with:
69-
python-version: "3.x"
70-
- name: Install dependencies
71-
run: |
72-
python -m pip install --upgrade pip
73-
pip install -U setuptools setuptools_scm wheel twine
74-
- name: Build and publish
75-
env:
76-
TWINE_USERNAME: __token__
77-
TWINE_PASSWORD: ${{ secrets.TWINE_API_KEY }}
78-
run: |
79-
git tag
80-
python setup.py sdist bdist_wheel
81-
twine upload dist/*

facemap/.github/workflows/test_and_deploy.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)