Skip to content

Commit

Permalink
Merge pull request #1078 from ocefpaf/add_og_plugin_tests
Browse files Browse the repository at this point in the history
add cc-plugin-og plugin test
  • Loading branch information
ocefpaf authored May 22, 2024
2 parents b67b1a5 + 30808b2 commit f543e4f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/cc-plugin-og-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: OG Plugin Tests

on:
pull_request:
push:

jobs:
run:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-name: TEST
init-shell: bash
create-args: >-
python=3 pip
--file requirements.txt
--file test_requirements.txt
--channel conda-forge
- name: Install compliance-checker
shell: bash -l {0}
run: |
python -m pip install -e . --no-deps --force-reinstall
- name: cc-plugin-og tests
shell: bash -l {0}
run: >
git clone https://github.com/uw-farlab/cc-plugin-og.git
&& cd cc-plugin-og
&& micromamba install --file requirements.txt --channel conda-forge
&& python -m pip install -e . --no-deps --force-reinstall
&& python -m pytest -s -rxs -v cc_plugin_og

0 comments on commit f543e4f

Please sign in to comment.