Skip to content

Commit

Permalink
Attmpt to install docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMDoerner committed Aug 17, 2024
1 parent a828eab commit 47f4a23
Showing 1 changed file with 43 additions and 42 deletions.
85 changes: 43 additions & 42 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,51 @@
name: Run Tests

on:
push:
branches:
- devel
- main
pull_request:
branches:
- devel
- main
push:
branches:
- devel
- main
pull_request:
branches:
- devel
- main

jobs:
Tests:
strategy:
matrix:
nimversion:
- binary:2.0.0
- binary:1.6.10
os:
- ubuntu-latest
#- windows-latest
#- macOS-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 30

name: Nim ${{ matrix.nimversion }} - ${{ matrix.os }}
Tests:
strategy:
matrix:
nimversion:
- binary:2.0.0
- binary:1.6.10
os:
- ubuntu-latest
#- windows-latest
#- macOS-latest
runs-on: ${{ matrix.os }}
timeout-minutes: 30

name: Nim ${{ matrix.nimversion }} - ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: iffy/install-nim@v5
with:
version: ${{ matrix.nimversion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: |
sudo apt-get update
sudo apt-get install -y openssl libsodium-dev xz-utils argon2
nimble install -y
nimble test
Docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docs
run: docker-compose run docs
steps:
- uses: actions/checkout@v4
- uses: iffy/install-nim@v5
with:
version: ${{ matrix.nimversion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test
run: |
sudo apt-get update
sudo apt-get install -y openssl libsodium-dev xz-utils argon2
nimble install -y
nimble test
Docs:
runs-on: ubuntu-latest
steps:
- uses: KengoTODA/actions-setup-docker-compose@v1
with:
version: "2.14.2" # the full version of `docker-compose` command
- uses: actions/checkout@v4
- name: Docs
run: docker-compose run docs

0 comments on commit 47f4a23

Please sign in to comment.