Skip to content

[CodeBuild]

[CodeBuild] #554

Workflow file for this run

name: Build project and run unit test
on: [ push ]
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
large-packages: false
- name: Free disk space by removing large directories
run: |
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
sudo rm -rf /opt/ghc
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
with:
python-version: ${{ matrix.python-version }}
- name: Run unit tests
uses: ./.github/actions/run_unit_tests
test_pip_install:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
with:
python-version: ${{ matrix.python-version }}
- name: Test pip install
uses: ./.github/actions/test_pip_install