Skip to content

Commit

Permalink
chore: update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan Le committed Mar 12, 2024
1 parent 79a539b commit b2708f6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,34 @@ name: Test with pytest
on: [push]

jobs:
build-linux:
run-unit-tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
$CONDA/bin/conda env update --file environment.yml --name base
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: environment.yml
miniforge-version: latest
- name: Test with pytest
run: |
# pip install -r requirements.txt
$CONDA/bin/python -m pytest
$CONDA/bin/python -m pytest
# steps:
# - uses: actions/checkout@v3
# - name: Set up Python 3.8
# uses: actions/setup-python@v4
# with:
# python-version: 3.8
# - name: Install dependencies
# run: |
# $CONDA/bin/conda env update --file environment.yml --name base
# - name: Test with pytest
# run: |
# # pip install -r requirements.txt
# $CONDA/bin/python -m pytest
1 change: 1 addition & 0 deletions tests/fixtures/source/nmrium/nmrium_test_v4.nmrium

Large diffs are not rendered by default.

0 comments on commit b2708f6

Please sign in to comment.