update ci_tests #564
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: CI Tests | |
on: | |
# Triggers the workflow on push or pull request events | |
pull_request: | |
push: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Tests Linux | |
runs-on: "ubuntu-latest" | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: anaconda-client-env | |
python-version: 3.11 | |
auto-activate-base: True | |
- name: Install Dependencies and T-ELF | |
run: | | |
conda info | |
conda list | |
pip install -e . | |
- name: Run the Unittests | |
run: | | |
cd tests && python -m pytest * | |