Skip to content

Commit 5b4dd07

Browse files
committed
Add snippets tests to github actions
1 parent f553155 commit 5b4dd07

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,25 @@ jobs:
1212
fail-fast: false
1313
steps:
1414
- uses: actions/checkout@master
15-
- run: powershell.exe scripts/symlinks-to-hardlinks.ps1
15+
- name: Convert symlinks to hardlink (windows only)
16+
run: powershell.exe scripts/symlinks-to-hardlinks.ps1
1617
if: matrix.os == 'windows-latest'
17-
- uses: actions-rs/cargo@v1
18+
- name: build rustpython
19+
uses: actions-rs/cargo@v1
1820
with:
1921
command: build
2022
args: --verbose --all
21-
- uses: actions-rs/cargo@v1
23+
- name: run rust tests
24+
uses: actions-rs/cargo@v1
2225
with:
2326
command: test
24-
args: --verbose --all
27+
args: --verbose --all
28+
- uses: actions/setup-python@v1
29+
with:
30+
python-version: 3.6
31+
- uses: dschep/install-pipenv-action@v1
32+
- run: pipenv install
33+
working-directory: ./tests
34+
- name: run snippets
35+
run: pipenv run pytest
36+
working-directory: ./tests

0 commit comments

Comments
 (0)