-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (44 loc) · 1.37 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Build project and run unit test
on: [ push ]
jobs:
build_and_test:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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.10']
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