Skip to content

fix(actions): python>=3.8 #3

fix(actions): python>=3.8

fix(actions): python>=3.8 #3

Workflow file for this run

name: Testing
on:
push:
branches:
- master
- develop
- feature/boundary_sectors
pull_request:
branches:
- master
- develop
- feature/boundary_sectors
workflow_dispatch:
jobs:
dispaset:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: this is dispaset
run: echo "Torture Dispa-SET"
shell: bash
miniconda:
name: Miniconda ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
# - name: Lint
# shell: bash -l {0}
# run: |
# conda install flake8
# python -m flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# python -m flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run pytest
shell: bash -l {0}
run: |
conda install pytest
pytest