Browse Source

Github Actions: Removed using container for tests

Signed-off-by: Grzegorz Latosinski <glatosinski@antmicro.com>
pull/1/head
Grzegorz Latosinski 3 years ago
parent
commit
58835a0d89
  1. 10
      .github/workflows/test.yml

10
.github/workflows/test.yml

@ -9,19 +9,17 @@ on:
jobs: jobs:
readme-tests: readme-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: debian:bullseye
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Install dependencies - name: Install dependencies
run: | run: |
apt-get update sudo apt-get update
apt-get install -qqy --no-install-recommends python3 python3-pip git sudo apt-get install -qqy --no-install-recommends python3 python3-pip git
pip3 install git+https://github.com/antmicro/tuttest.git sudo pip3 install git+https://github.com/antmicro/tuttest.git
- name: Run README.md snippets - name: Run README.md snippets
run: | run: |
./scripts/test.sh sudo ./scripts/test.sh
- name: Upload artifacts - name: Upload artifacts
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

Loading…
Cancel
Save