forked from rtdip/core
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 912 Bytes
/
fork_test.yml
File metadata and controls
40 lines (33 loc) · 912 Bytes
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
name: "Test (Devcontainer)"
on:
push:
branches:
- develop
pull_request:
branches:
- develop
workflow_dispatch:
jobs:
test_in_devcontainer:
runs-on: ubuntu-latest
steps:
- name: Free disk space on runner
run: |
echo "Disk usage before cleanup:"
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/share/android-sdk
echo "Disk usage after cleanup:"
df -h
- name: Checkout
uses: actions/checkout@v4
- name: Build devcontainer and run tests
uses: devcontainers/ci@v0.3
with:
runCmd: |
mamba run -n rtdip-sdk python --version
mamba run -n rtdip-sdk pytest tests