Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Merge pull request #232 from AntelopeIO/bhazzard-patch-1 #6

Merge pull request #232 from AntelopeIO/bhazzard-patch-1

Merge pull request #232 from AntelopeIO/bhazzard-patch-1 #6

name: Run All Tests
on:
push:
branches:
- main
- "release*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# Use Docker in rootless mode (To solve "Permission denied" error when removing test_app directory)
- uses: ScribeMD/[email protected]
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Run tests
# Image is created in early test stages (a100_generate_container_image_test.py)
run: |
pytest --run-all tests/