Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/tests-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ on:
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
runs-on: self-hosted
container:
image: ubuntu:latest
options:
--privileged

steps:
- name: Checkout repository
Expand All @@ -29,8 +33,8 @@ jobs:

- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install libdb-dev fp-compiler fp-units-base fp-units-math
apt-get update
apt-get install -y libdb-dev fp-compiler fp-units-base fp-units-math build-essential ca-certificates

- name: Cache Python dependencies
uses: actions/cache@v3
Expand All @@ -48,7 +52,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install --user virtualenv
virtualenv venv
python -m virtualenv venv
. venv/bin/activate
pip install -e .[dev]

Expand Down