From 5b4dd0701b77cbbcfac97eeff7c8bc52ecc9ecf7 Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Sat, 25 Jan 2020 12:17:05 +0200 Subject: [PATCH] Add snippets tests to github actions --- .github/workflows/ci.yaml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5f6fdee04..933cc0e6e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 \ No newline at end of file + 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