Skip to content

Commit

Permalink
add a github action to download something
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jun 13, 2023
1 parent b1deccb commit 2fc7954
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: http download

on: [push, pull_request]

jobs:
tests:
name: Tests

strategy:
matrix:
ocaml-version: ["4.14.1"]
operating-system: [ubuntu-latest]

runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-version }}

- name: Install dependencies
run: opam install --deps-only -t .

- name: Build
run: opam exec -- dune build

- name: Test
run: opam exec -- dune runtest

- name: Download
run: opam exec -- dune exec -- app/hurl.exe https://google.com > /dev/null

0 comments on commit 2fc7954

Please sign in to comment.