Skip to content

Finish CI Pipeline for the main branch as well #16

Finish CI Pipeline for the main branch as well

Finish CI Pipeline for the main branch as well #16

Workflow file for this run

name: Build and Test
on:
pull_request:
types: [opened]
workflow_call:
workflow_dispatch:
jobs:
build-image:
uses: ./.github/workflows/build.yaml
test:
needs: build-image
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set Up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Download docker image
uses: actions/download-artifact@v2
with:
name: rosenpass
path: .
- name: Load docker image
run: docker load -i image.tar
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r ./tests/requirements.txt
- name: Run Tests
run: pytest -s
working-directory: ./tests