Skip to content

Commit c64b7db

Browse files
test github actions
1 parent a13e0c1 commit c64b7db

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Create Windows executable using Conda
2+
3+
on: [push]
4+
5+
jobs:
6+
build-windows:
7+
runs-on: windows-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- name: Set up Python
12+
uses: actions/setup-python@v2
13+
with:
14+
python-version: 3.9
15+
- name: Install dependencies
16+
run: |
17+
C:\Miniconda\condabin\conda.bat env update --file environment.yml --name build
18+
C:\Miniconda\condabin\conda.bat init powershell
19+
- name: Test with pytest
20+
run: |
21+
C:\Miniconda\condabin\conda.bat activate build
22+
C:\Miniconda\condabin\conda.bat build.bat

0 commit comments

Comments
 (0)