Giter Club home page Giter Club logo

tp's People

Contributors

polomarcus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tp's Issues

Can't see any Actions while pushing

Bonjour, concernant la partie bonus du tp-functional-programming-scala le fichier scala.yml ne s'exécute pas, ou du moins je n'ai rien de visible dans la section Actions de github.

Lien de mon repo : tp_1_processing

Voici le code du fichier sacala.yml

name: Scala CI

on:
  push:
    paths:
      - 'src/**'
  pull_request:
    branches: [ main ]

  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: init and load data
        run: docker-compose -f src/test/docker/docker-compose.yml up -d
      - name: sleep
        run:  sleep 120
      - name: log
        run: docker logs docker_app_1

Voici le code du Dockerfile

FROM mozilla/sbt:8u292_1.5.7

WORKDIR /app

# Copy the source code into the container
COPY . .

# Compile the code
RUN sbt compile

# Run the tests
CMD ["sbt", "test"]

Voici le code du docker-compose.yml

version: '2'
services:
  my-scala-app:
    build:
      context: ./
      dockerfile: Dockerfile
    volumes:
      - ./:/usr/tp
      - .cache/:/root/.cache # trick to save coursier (sbt) cache

Normalement le fichier scala.yml est exécuté lors d'un push ou d'une merge request. Pour pouvoir l'exécuter j'ai rajouté une ligne vide dans l'un des fichiers de /src/main puis je fais :

dans /tp-funtional-prog...

git add .
git commit -m "blablaba"
git push

J'ai la validation en output que le code est bien push, si je vais sur mon repo git les modifications sont bien là.

Mais quand je vais dans Actions il n'y a rien. Le fichier scala.yml n'est pas executé...


Avez-vous une idée du pourquoi du comment ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.