Skip to content

Drop python 3.6

Drop python 3.6 #386

Workflow file for this run

name: build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: ["3.10"]
steps:
- uses: actions/checkout@v2
# # We need to install Qt on the system otherwise tests in
# # tests/test_qt_js_integration.py crash.
# - name: Install Qt
# uses: jurplel/install-qt-action@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
auto-activate-base: true
activate-environment: ''
channels: conda-forge,esss
channel-priority: true
- name: Install
env:
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
conda devenv -n qmxgraph
conda install -n qmxgraph coveralls pytest-cov
conda init bash
- name: Tests
shell: bash -l {0}
run: |
conda activate qmxgraph
scripts/run_tests.sh
- name: Coveralls
shell: bash -l {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
conda activate qmxgraph
coveralls