fix R object name #8
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: Conda test | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ main, develop] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
miniconda: | |
name: Miniconda ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
activate-environment: test | |
environment-file: environment.yml | |
python-version: 3.8 | |
auto-activate-base: false | |
- shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Run fancy test | |
shell: bash -l {0} | |
run: | | |
python3 -c "from nsbm import nsbm" | |
- name: Run tests | |
shell: bash -l {0} | |
run: | | |
python3 tests/run_tests.py |