Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:
fail-fast: false
matrix:
CONDA_PY: ["36", "37", "38", "39"]
include:
- CONDA_PY: "36"
PYTHON_VERSION: "3.6"
- CONDA_PY: "37"
PYTHON_VERSION: "3.7"
- CONDA_PY: "38"
PYTHON_VERSION: "3.8"
- CONDA_PY: "39"
PYTHON_VERSION: "3.9"


steps:
- uses: actions/checkout@v2
Expand All @@ -33,13 +43,18 @@ jobs:
- name: Install
env:
CONDA_PY: ${{ matrix.CONDA_PY }}
PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }}
run: |
conda config --system --set always_yes yes --set changeps1 no
conda install -c conda-forge conda-devenv
conda info -a
export TEST_QMXGRAPH=1
echo "=== conda devenv -n qmxgraph --print-full ==="
conda devenv -n qmxgraph --print-full
echo "=== === === === ==="
conda devenv -n qmxgraph
conda install -n qmxgraph coveralls pytest-cov
conda list -n qmxgraph
conda init bash
- name: Tests
shell: bash -l {0}
Expand Down
5 changes: 4 additions & 1 deletion environment.devenv.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{% set TEST_QMXGRAPH = os.environ.get('TEST_QMXGRAPH', '0') != '0' %}
{% set PYTHON_VERSION = os.environ.get('PYTHON_VERSION', '3.6') %}
{% set PYTHON_VERSION = os.environ.get('TRAVIS_PYTHON_VERSION', PYTHON_VERSION) %}

name: qmxgraph

Expand All @@ -15,6 +14,10 @@ environment:

dependencies:
- python ={{ PYTHON_VERSION }}
{% if "PYTHON_VERSION" in os.environ %}
- importlib_resources =1.3
- zipp =3.3
{% endif %}

{% if TEST_QMXGRAPH %}
- cherrypy
Expand Down