Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
firestarx35 committed Aug 20, 2023
1 parent c9d661d commit 1af6604
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run Tests with Conda

on:
push:
branches:
- temp

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Setup Conda
run: |
echo "deb [arch=amd64,arm64] https://repo.anaconda.com/pkgs/misc/debrepo/conda stable main" | sudo tee /etc/apt/sources.list.d/conda.list
curl -L https://repo.anaconda.com/pkgs/misc/gpgkeys/conda-archive.asc | sudo apt-key add -
sudo apt update
sudo apt install conda
- name: Create and Activate Conda Environment
run: |
conda env create -f environment.yml
echo "source activate irp" >> ~/.bashrc
source ~/.bashrc
- name: Run tests
shell: bash -l {0}
run: python -m unittest tests_complete.py

0 comments on commit 1af6604

Please sign in to comment.