Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/LinkedEarth/pylipd
Browse files Browse the repository at this point in the history
  • Loading branch information
khider committed Feb 18, 2023
2 parents 27fe55b + 10d4ab8 commit dc53141
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/citest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: run pytest

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:

- name: Checkout files in repo
uses: actions/checkout@v3

- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: pylipd
environment-file: environment.yml
python-version: "3.10"
auto-activate-base: false

- name: Conda list
run: |
conda activate pylipd
conda list
- name: Test with pytest
run: |
conda activate pylipd
pytest pylipd/tests -svv

0 comments on commit dc53141

Please sign in to comment.