Skip to content

Commit

Permalink
Create a run_tests Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Nov 7, 2024
1 parent 88391f9 commit f0785ae
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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

0 comments on commit f0785ae

Please sign in to comment.