mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Add snippets tests to github actions
This commit is contained in:
20
.github/workflows/ci.yaml
vendored
20
.github/workflows/ci.yaml
vendored
@@ -12,13 +12,25 @@ jobs:
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- run: powershell.exe scripts/symlinks-to-hardlinks.ps1
|
||||
- name: Convert symlinks to hardlink (windows only)
|
||||
run: powershell.exe scripts/symlinks-to-hardlinks.ps1
|
||||
if: matrix.os == 'windows-latest'
|
||||
- uses: actions-rs/cargo@v1
|
||||
- name: build rustpython
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --verbose --all
|
||||
- uses: actions-rs/cargo@v1
|
||||
- name: run rust tests
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --verbose --all
|
||||
args: --verbose --all
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.6
|
||||
- uses: dschep/install-pipenv-action@v1
|
||||
- run: pipenv install
|
||||
working-directory: ./tests
|
||||
- name: run snippets
|
||||
run: pipenv run pytest
|
||||
working-directory: ./tests
|
||||
|
||||
Reference in New Issue
Block a user