Skip to content

[pre-commit.ci] pre-commit autoupdate #494

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #494

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.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v4
- uses: browser-actions/[email protected]
- uses: conda-incubator/setup-miniconda@v3
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 list -n qmxgraph
- 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