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