Skip to content

Commit

Permalink
use GHA service instead of vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Oct 20, 2024
1 parent 72bc3c6 commit 8e99104
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 27 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
services:
vault:
image: hashicorp/vault:1.14.8
ports:
- 8200:8200
env:
VAULT_DEV_ROOT_TOKEN_ID: st2token

steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand All @@ -67,14 +75,6 @@ jobs:
- name: Install tox
run: pip install --user tox

- name: Run vagrant
run: |
sudo wget -nv https://releases.hashicorp.com/vagrant/2.2.7/vagrant_2.2.7_x86_64.deb
sudo dpkg -i vagrant_2.2.7_x86_64.deb
sudo rm /opt/vagrant/embedded/bin/ruby
sudo ln -s `which ruby` /opt/vagrant/embedded/bin/ruby
vagrant up
- name: Select tox env
id: tox-env
run: echo tox-env=py${{ matrix.python-version }}-integration | tr -d '.' >> ${GITHUB_OUTPUT}
Expand Down
19 changes: 0 additions & 19 deletions Vagrantfile

This file was deleted.

0 comments on commit 8e99104

Please sign in to comment.