diff --git a/.github/workflows/automake.yaml b/.github/workflows/automake.yaml index 08ec0888..53bc48d9 100644 --- a/.github/workflows/automake.yaml +++ b/.github/workflows/automake.yaml @@ -1,10 +1,15 @@ name: Tests and Build -'on': + +on: push: branches: - - alt2 - tags: - - v* + - "*" + pull_request: + branches: + - master + # tags: + # - 'v*' + jobs: my-job: runs-on: ubuntu-latest @@ -16,6 +21,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 + # - name: Build Docker image # run: docker build -t my-test-image .devcontainer # - name: Run tests using Docker image diff --git a/.github/workflows/automakeback.yaml b/.github/workflows/automakeback.yaml new file mode 100644 index 00000000..08ec0888 --- /dev/null +++ b/.github/workflows/automakeback.yaml @@ -0,0 +1,37 @@ +name: Tests and Build +'on': + push: + branches: + - alt2 + tags: + - v* +jobs: + my-job: + runs-on: ubuntu-latest + container: + image: iansmith/parigot-devcont-atlanta-0.3:amd64 + volumes: + - ${{ github.workspace }}:/workspaces/parigot + steps: + - name: Checkout Code + uses: actions/checkout@v3 + + # - name: Build Docker image + # run: docker build -t my-test-image .devcontainer + # - name: Run tests using Docker image + # run: docker run --rm my-test-image make test + + - name: show workspace location + run: echo $GITHUB_WORKSPACE + - name: list top level files + run: ls -l /workspaces/parigot + - name: show $PATH + run: echo $PATH + - name: show go + run: which go + - name: show go version + run: which go1.21.0 + - name: build Makefile + run: make + +