-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
2,682 additions
and
1,510 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: wenv test suite | ||
|
||
on: | ||
push: {} | ||
schedule: | ||
- cron: '30 9 7 * *' | ||
|
||
jobs: | ||
build: | ||
|
||
strategy: | ||
matrix: | ||
os: ["ubuntu-18.04", "ubuntu-20.04"] | ||
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Wine | ||
run: | | ||
sudo dpkg --add-architecture i386 | ||
wget https://dl.winehq.org/wine-builds/Release.key | ||
sudo apt-key add Release.key | ||
wget https://dl.winehq.org/wine-builds/winehq.key | ||
sudo apt-key add winehq.key | ||
sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/' | ||
sudo apt-get -qq update | ||
sudo apt-get install -y wine-staging | ||
echo "/opt/wine-staging/bin" >> $GITHUB_PATH | ||
- name: Install Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Update Python infrastructure | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -U setuptools | ||
- name: Install wenv package | ||
run: | | ||
make install | ||
- name: Pre-check | ||
run: | | ||
wine --version | ||
wine64 --version | ||
python --version | ||
pytest --version | ||
uname -a | ||
lsb_release -a | ||
wenv --version | ||
- name: Build docs | ||
run: | | ||
make docs | ||
- name: Run tests | ||
run: | | ||
make test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 | ||
|
||
python: | ||
version: 3.7 | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- dev |
This file was deleted.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
""" | ||
WENV | ||
Running Python on Wine | ||
https://github.com/pleiszenburg/wenv | ||
docs/__init__.py: Docs root | ||
Copyright (C) 2017-2022 Sebastian M. Ernst <[email protected]> | ||
<LICENSE_BLOCK> | ||
The contents of this file are subject to the GNU Lesser General Public License | ||
Version 2.1 ("LGPL" or "License"). You may not use this file except in | ||
compliance with the License. You may obtain a copy of the License at | ||
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt | ||
https://github.com/pleiszenburg/wenv/blob/master/LICENSE | ||
Software distributed under the License is distributed on an "AS IS" basis, | ||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the | ||
specific language governing rights and limitations under the License. | ||
</LICENSE_BLOCK> | ||
""" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "!layout.html" %} | ||
|
||
{% block menu %} | ||
|
||
{{ super() }} | ||
|
||
{% if sidebar_external_links %} | ||
|
||
<p class="caption"> | ||
<span class="caption-text"> | ||
{% if sidebar_external_links_caption %} | ||
{{ sidebar_external_links_caption }} | ||
{% else %} | ||
External links | ||
{% endif %} | ||
</span> | ||
</p> | ||
|
||
<ul> | ||
{% for text, link in sidebar_external_links %} | ||
{% if hasdoc(link) %} | ||
<li class="toctree-l1"><a href="{{ pathto(link) }}">{{ text }}</a></li> | ||
{% else %} | ||
<li class="toctree-l1"><a href="{{ link }}">{{ text }}</a></li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
|
||
{% endif %} | ||
|
||
{% endblock %} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../CHANGES.md |
Oops, something went wrong.