Skip to content

Commit 5d31928

Browse files
author
Sagi Polaczek
committed
will it work?
1 parent e2703a0 commit 5d31928

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/github-actions-demo.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,24 @@ jobs:
4848
run: |
4949
ls ${{ github.workspace }}
5050
- run: echo "🍏 This job's status is ${{ job.status }}."
51+
build-linux:
52+
runs-on: ubuntu-latest
53+
strategy:
54+
max-parallel: 5
55+
56+
steps:
57+
- uses: actions/checkout@v4
58+
- name: Set up Python 3.10
59+
uses: actions/setup-python@v3
60+
with:
61+
python-version: '3.10'
62+
- name: Add conda to system path
63+
run: |
64+
# $CONDA is an environment variable pointing to the root of the miniconda directory
65+
echo $CONDA/bin >> $GITHUB_PATH
66+
- name: Install dependencies
67+
run: |
68+
pip install -q .[examples]
69+
- name: Test with pytest
70+
run: |
71+
pytest --durations=40 --cov=mammal --cov-fail-under=45 --capture=no mammal/examples/tests

0 commit comments

Comments
 (0)