Skip to content

Create a run_tests Action #2

Create a run_tests Action

Create a run_tests Action #2

Workflow file for this run

name: Run tests
on: [push,workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Miniconda
uses: conda-incubator/[email protected]
with:
python-version: '3.10'
channels: conda-forge
miniforge-version: "latest"
- name: Install tox
shell: bash -el {0}
run: mamba install tox
- name: Test with tox
shell: bash -el {0}
run: tox