Skip to content

PGRM-293 Bump BF deps to Apple M3-compatible #214

PGRM-293 Bump BF deps to Apple M3-compatible

PGRM-293 Bump BF deps to Apple M3-compatible #214

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: BigFlow CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Setup github username
run: |
git config --global user.email "fake@example.com"
git config --global user.name "fake name"
- name: Setup docker
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic test"
sudo apt update
sudo apt install docker-ce containerd.io
docker -v
- name: Install dependencies
run: |
pip install pip==22.0.3
pip install -r requirements.txt
- name: Run unit tests
run: |
pytest --html=build/test-report.html --self-contained-html
- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: test-report
path: build/test-report.html