Skip to content

Commit

Permalink
Install SSL cert for system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Oct 26, 2023
1 parent 1efafa2 commit be10a46
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,20 @@ jobs:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt-get update -yqq
sudo apt-get install -yqq libvips
sudo apt-get install -yqq libvips libnss3-tools
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install SSL certificate for system tests
run: |
curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
chmod +x mkcert-v*-linux-amd64
sudo cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert
mkcert -install
mkcert 127.0.0.1
- name: Run tests
run: bin/rails test; bin/rails test:system
env:
Expand Down

0 comments on commit be10a46

Please sign in to comment.