Essais d'une google action pour lancer les tests des obitools

This commit is contained in:
Eric Coissac
2025-02-19 13:45:43 +01:00
parent 952f85f312
commit bd4a0b5ca5
3 changed files with 21 additions and 2 deletions

19
.github/workflows/obitest.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: "Run the obitools command test suite"
on:
push:
branches:
- master
- V*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.23'
- name: Checkout obitools4 project
uses: actions/checkout@v4
- name: Run tests
run: make obitests

View File

@ -64,7 +64,7 @@ update-deps:
test:
$(GOTEST) ./...
obitests:
obitests: obitools
for t in $$(find obitests -name test.sh -print) ; do \
$(SHELL) $${t} ; \
done

View File

@ -8,7 +8,7 @@ import (
// corresponds to the last commit, and not the one when the file will be
// commited
var _Commit = "4774438"
var _Commit = "952f85f"
var _Version = "Release 4.2.0"
// Version returns the version of the obitools package.