[pre-commit.ci] pre-commit autoupdate (#192) #451
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
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@v2 | |
- uses: browser-actions/[email protected] | |
- 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 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 |