-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.11 KB
/
build-and-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: build and test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: main
- name: Setup epam ssh key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.EPAM_DEPLOY_PRIVATE_KEY }}
- name: Clone Epam
shell: bash -l {0}
run: |
git clone [email protected]:matsengrp/epam.git
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: '1.5.6-0' # any version from https://github.com/mamba-org/micromamba-releases
environment-name: epam
create-args: >-
python=3.9
datrie
init-shell: bash
cache-environment: false
post-cleanup: 'none'
- name: Install and Test
shell: bash -l {0}
run: |
cd epam
make install
cd ../main
pip install .
make test