diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..2a0fedd --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,12 @@ +name: Tests + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: sudo apt install -y valgrind + - run: make test + - run: valgrind --leak-check=full --error-exitcode=5 ./test diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 13cfc08..0000000 --- a/.travis.yml +++ /dev/null @@ -1,10 +0,0 @@ -language: c -before_install: - - sudo apt-get update - - sudo apt-get install libcurl4-gnutls-dev valgrind -qq - - git clone https://github.com/clibs/clib.git /tmp/clib - - sudo make -C /tmp/clib install -install: clib install --dev -script: - - make test - - valgrind --leak-check=full --error-exitcode=5 ./test > /dev/null