-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 812 Bytes
/
test.yml
File metadata and controls
28 lines (24 loc) · 812 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
---
name: test
on:
pull_request:
push:
branches:
- '*'
- '*/*'
- '**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Free disk space
run: |
sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc \
/usr/local/share/powershell /usr/local/share/chromium \
/usr/local/lib/node_modules /usr/share/swift
sudo docker system prune -af
- name: Run tests
run: |
docker compose -f tests/docker-compose.test.yml run --rm usf \
-c "set -x && conda run -n usf uv pip install -e . --no-deps && conda run -n usf pytest tests/ -v"